Skip to content

Commit

Permalink
fix(workflows): assign explicit permissions (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
caugner authored Feb 7, 2025
1 parent ec56167 commit 8839ef4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto-merge-workflows.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: "auto-merge"
on: [pull_request_target]

permissions:
# Approve and comment pull request.
pull-requests: write

jobs:
auto-merge:
uses: mdn/workflows/.github/workflows/auto-merge.yml@main
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/welcome-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ on:
- opened
- closed

permissions:
# Post comment in issue.
issues: write
# Post comment in pull request.
pull-requests: write

jobs:
allo-allo:
uses: mdn/workflows/.github/workflows/allo-allo.yml@main
Expand Down

0 comments on commit 8839ef4

Please sign in to comment.