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

Use dedicated token for pr assignment #6868

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/pr-handling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ name: Assign PR to author and reviewers

"on":
pull_request_target:
types: [ opened, reopened, ready_for_review ]
types: [ labeled, unlabeled, opened, reopened, edited, ready_for_review, synchronize ]

jobs:
assign-pr:
name: Assign PR to author
permissions:
contents: write
runs-on: ubuntu-latest
steps:
- uses: toshimaru/auto-author-assign@v2.1.0
with:
repo-token: ${{ secrets.ORG_AUTOMATION_TOKEN }}
Comment on lines 18 to +24
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now this job will execute also when the PR is labeled and unlabeled as well as edited and synchronized. Don't we need to have checks to avoid running this unnecessarily?


ask-review:
name: Run pull-review
Expand Down