Use GITHUB_BASE_REF

This commit is contained in:
Oliver Walters committed 2021-09-12 21:52:02 +10:00
1 parent 6baaf98d7e
commit 06f323fe47
1 file changed
+1 -5
+1 -5
View File
@@ -3,10 +3,6 @@
name: Version Numbering name: Version Numbering
on: on:
push:
branches-ignore:
- l10*
pull_request: pull_request:
branches-ignore: branches-ignore:
- l10* - l10*
@@ -21,4 +17,4 @@ jobs:
uses: actions/checkout@v2 uses: actions/checkout@v2
- name: Check version number - name: Check version number
run: | run: |
python3 ci/check_version_number.py --branch ${{ GITHUB_REF }} python3 ci/check_version_number.py --branch ${{ GITHUB_BASE_REF }}