Skip to content

Commit

Permalink
ci: add permissions for pr labels (#354)
Browse files Browse the repository at this point in the history
* ci: add permissions on contents and pull-requests

* ci: remove catch block to recognize failure

* ci: apply review
  • Loading branch information
bky373 authored Aug 22, 2024
1 parent 4c472a7 commit 81d4e12
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ jobs:
label-lang:
runs-on: ubuntu-latest
continue-on-error: true

permissions:
contents: write
pull-requests: write

steps:
- name: Checkout code
uses: actions/checkout@v4
Expand Down Expand Up @@ -81,5 +86,5 @@ jobs:
}
}
run().catch(err => console.error(err));
run();
"

0 comments on commit 81d4e12

Please sign in to comment.