Because I'm a blithering idiot and my hands are too fast for my own good
This commit is contained in:
cyqsimon
2024-03-01 17:47:01 +08:00
parent 1319437388
commit 10e0d48f77

View File

@@ -3,6 +3,10 @@ name: Changelog
on:
pull_request:
env:
PR_NUMBER: ${{ github.event.number }}
PR_BASE: ${{ github.base_ref }}
jobs:
get-submitter:
name: Get the username of the PR submitter
@@ -19,9 +23,7 @@ jobs:
name: Check for changelog entry
needs: get-submitter
env:
PR_NUMBER: ${{ github.event.number }}
PR_SUBMITTER: ${{ needs.get-submitter.outputs.submitter }}
PR_BASE: ${{ github.base_ref }}
runs-on: ubuntu-latest
# allow dependabot PRs to have no changelog
if: ${{ needs.get-submitter.outputs.submitter != 'dependabot[bot]' }}