diff options
author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2024-03-01 17:47:01 +0800 |
---|---|---|
committer | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2024-03-01 17:47:01 +0800 |
commit | 10e0d48f77d42fc8c1dbc8a8f532cbce7f4dd63d (patch) | |
tree | 784a8c6431f342203d0fee1475a869a70977e4a4 | |
parent | 1319437388f4e8ca546bb3c3548da44a475e4342 (diff) |
Fixes #378
Because I'm a blithering idiot and my hands are too fast for my own good
-rw-r--r-- | .github/workflows/require-changelog-for-PRs.yml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/require-changelog-for-PRs.yml b/.github/workflows/require-changelog-for-PRs.yml index 0f126cf..cd36e88 100644 --- a/.github/workflows/require-changelog-for-PRs.yml +++ b/.github/workflows/require-changelog-for-PRs.yml @@ -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]' }} |