blob: 0f6a0dc454a49d07984dcda1c4a3971ce27c51ed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
name: changelog
on:
pull_request:
types: [opened, synchronize]
branches:
- master
jobs:
check-changelog:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 2
- name: Set up environment
run: |
echo "GITHUB_HEAD_REF=${{ github.head_ref }}" >> $GITHUB_ENV
echo "GITHUB_BASE_REF=${{ github.base_ref }}" >> $GITHUB_ENV
- name: Check if changelog is updated
run: .github/scripts/check-changelog.sh
|