From d269cef67d3c96da9543a5cef130d28a108b79cc Mon Sep 17 00:00:00 2001 From: Darp Alakun Date: Mon, 6 Jan 2025 12:21:28 -0500 Subject: [PATCH] chore: update CI workflow permissions and rename job --- .github/workflows/checks.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 6f5659abc..b0d0c8d92 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -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 @@ -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'