Skip to content

Commit 81d4e12

Browse files
authored
ci: add permissions for pr labels (DaleStudy#354)
* ci: add permissions on contents and pull-requests * ci: remove catch block to recognize failure * ci: apply review
1 parent 4c472a7 commit 81d4e12

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/integration.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
label-lang:
1414
runs-on: ubuntu-latest
1515
continue-on-error: true
16+
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
1621
steps:
1722
- name: Checkout code
1823
uses: actions/checkout@v4
@@ -81,5 +86,5 @@ jobs:
8186
}
8287
}
8388
84-
run().catch(err => console.error(err));
89+
run();
8590
"

0 commit comments

Comments
 (0)