Skip to content

Commit

Permalink
chore: update CI workflow permissions and rename job
Browse files Browse the repository at this point in the history
  • Loading branch information
prdnk committed Jan 6, 2025
1 parent c7361d8 commit d269cef
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@ on:
pull_request:
merge_group:

permissions:
contents: read # for TimonVS/pr-labeler-action to read config file
pull-requests: write # for TimonVS/pr-labeler-action to add labels in PR

jobs:
tidy-pr:
name: Tidy PR
verify-pr:
name: Verify PR
if: github.event_name == 'pull_request'
permissions:
contents: read # for TimonVS/pr-labeler-action to read config file
Expand All @@ -23,8 +27,6 @@ jobs:
configuration-path: .github/pr-labeler.yml # optional, .github/pr-labeler.yml is the default value
- name: Trunk Check
uses: trunk-io/trunk-action@v1
with:
post-annotations: true # only for fork PRs

test-builds:
if: github.event_name == 'pull_request'
Expand Down

0 comments on commit d269cef

Please sign in to comment.