Update create_package.yml

- github.base_ref is needed for pull request check
This commit is contained in:
ReenigneArcher 2022-01-11 18:35:05 -05:00
parent a2c45f8de0
commit 8781fbcc20

View File

@ -15,7 +15,8 @@ jobs:
steps: steps:
- name: Verify Changelog - name: Verify Changelog
id: verify_changelog id: verify_changelog
if: ${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' || github.base_ref == 'master' }}
# base_ref for pull request check, ref for push
uses: SunshineStream/actions/verify_changelog@v0 uses: SunshineStream/actions/verify_changelog@v0
with: with:
token: ${{ secrets.GITHUB_TOKEN }} token: ${{ secrets.GITHUB_TOKEN }}