mirror of
https://github.com/logto-io/logto.git
synced 2025-04-07 23:01:25 -05:00
ci: update workflow permission (#1623)
This commit is contained in:
parent
27f295674a
commit
041bd13c28
2 changed files with 13 additions and 0 deletions
10
.github/workflows/update-pr-metadata.yml
vendored
10
.github/workflows/update-pr-metadata.yml
vendored
|
@ -11,6 +11,11 @@ concurrency:
|
|||
jobs:
|
||||
update-metadata:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- name: Add labels
|
||||
uses: silverhand-io/actions-add-labels-run-steps@v1.1.2
|
||||
|
@ -27,6 +32,11 @@ jobs:
|
|||
|
||||
pr-size-diff:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
issues: write
|
||||
pull-requests: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
|
|
3
.github/workflows/upload-annotations.yml
vendored
3
.github/workflows/upload-annotations.yml
vendored
|
@ -14,6 +14,9 @@ jobs:
|
|||
upload-annotations:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
permissions:
|
||||
checks: write
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue