Skip to content

Commit

Permalink
T6349: updated pr-labels workflow permission, and removed unused import
Browse files Browse the repository at this point in the history
  • Loading branch information
kumvijaya committed May 18, 2024
1 parent c586b5b commit 9b29a34
Show file tree
Hide file tree
Showing 8 changed files with 19 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/add-pr-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ on:

permissions:
pull-requests: write
contents: read

jobs:
add-pr-label:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/auto-author-assign.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ on:
pull_request_target:
types: [opened, reopened, ready_for_review, locked]


permissions:
pull-requests: write
contents: read

jobs:
assign-author:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/chceck-pr-message.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- crux
- equuleus

permissions:
pull-requests: write
contents: read

jobs:
check-pr-title:
uses: vyos/.github/.github/workflows/check-pr-message.yml@feature/T6349-reusable-workflows
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-pr-conflicts.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:

permissions:
pull-requests: write
contents: read

jobs:
check-pr-conflict-call:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/check-stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

permissions:
pull-requests: write
contents: read

jobs:
stale:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/check-unused-imports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ on:
- sagitta
workflow_dispatch:

permissions:
pull-requests: write
contents: read

jobs:
check-unused-imports:
uses: vyos/.github/.github/workflows/check-unused-imports.yml@feature/T6349-reusable-workflows
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/label-backport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ name: Mergifyio backport
on: [issue_comment]

permissions:
pull-requests: write
pull-requests: write
contents: read

jobs:
mergifyio-backport:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/linit-j2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ on:
- crux
- equuleus

permissions:
pull-requests: write
contents: read

jobs:
j2lint:
uses: vyos/.github/.github/workflows/lint-j2.yml@feature/T6349-reusable-workflows
Expand Down

0 comments on commit 9b29a34

Please sign in to comment.