Skip to content

Commit

Permalink
narrow permissions; update job name
Browse files Browse the repository at this point in the history
  • Loading branch information
diehlbw committed Jun 7, 2024
1 parent f2ed7c1 commit 69da6c0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Changelog
on:
pull_request: {}

permissions: "read-all"
permissions:
pull-requests: read

jobs:
# Check for label in its own job to allow skipping multiple steps with 'success'
Expand All @@ -28,7 +29,7 @@ jobs:
needs_entry: ${{ steps.check-labels.outputs.needs_entry }}

check-changelog-entry:
name: has fragment
name: has changelog fragment
runs-on: ubuntu-latest
needs: check-labels
if: ${{ needs.check-labels.outputs.needs_entry == 'true' }}
Expand Down

0 comments on commit 69da6c0

Please sign in to comment.