-
Notifications
You must be signed in to change notification settings - Fork 32
41 lines (33 loc) · 994 Bytes
/
changelog_checker.yml
File metadata and controls
41 lines (33 loc) · 994 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
---
name: Check the changelogs
on:
pull_request:
jobs:
changelog-check:
name: changelog check
runs-on: ubuntu-22.04
container: ghcr.io/dcermak/bci-ci:latest
steps:
- uses: actions/checkout@v3
with:
ref: main
fetch-depth: 0
- uses: actions/cache@v3
with:
path: ~/.cache/pypoetry/virtualenvs
key: poetry-${{ hashFiles('poetry.lock') }}
- name: install python dependencies
run: poetry install
- name: fix the file permissions of the repository
run: chown -R $(id -un):$(id -gn) .
- name: fetch all branches
run: git fetch
- name: check the changelog
run: |
poetry run scratch-build-bot \
--os-version 6 -vvvv \
changelog_check \
--base-ref origin/${{ github.base_ref }} \
--head-ref ${{ github.event.pull_request.head.sha }}
env:
OSC_USER: "irrelevant"