Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Adjust PR handling workflow permissions #6675

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/pr-handling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,26 @@ name: Assign PR to author and reviewers
# committed code should _NOT_ be touched in any case.

"on":
pull_request_target:
types: [ opened, reopened, ready_for_review ]
pull_request:
# pull_request_target:
# types: [ opened, reopened, ready_for_review ]
permissions: write-all

#permissions:
# actions: write
# checks: write
# contents: write
# deployments: write
# issues: write
# packages: write
# pull-requests: write
# repository-projects: write
# security-events: write
# statuses: write

jobs:
assign-pr:
name: Assign PR to author
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.1.0
Expand Down