-
Notifications
You must be signed in to change notification settings - Fork 800
Update milestone and label workflows for maintainers, developers, and bots #3342
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -0,0 +1,25 @@ | ||||
| name: Assign label to PRs | ||||
|
|
||||
| on: | ||||
| pull_request_target: | ||||
| types: [opened, reopened] | ||||
|
|
||||
| jobs: | ||||
| assign-dependencies-label: | ||||
| name: Assign dependencies label | ||||
| runs-on: ubuntu-latest | ||||
| if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]"]'), github.event.pull_request.user.login) | ||||
| permissions: | ||||
| issues: write | ||||
| pull-requests: write | ||||
|
||||
| pull-requests: write |
| Original file line number | Diff line number | Diff line change | ||
|---|---|---|---|---|
| @@ -1,4 +1,4 @@ | ||||
| name: Assign milestone to automated PRs | ||||
| name: Assign milestone to PRs | ||||
|
|
||||
| on: | ||||
| pull_request_target: | ||||
|
|
@@ -8,7 +8,7 @@ jobs: | |||
| assign-milestone: | ||||
| name: Assign next-release milestone | ||||
| runs-on: ubuntu-latest | ||||
| if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]", "Copilot"]'), github.event.pull_request.user.login) | ||||
| if: contains(fromJSON('["dependabot[bot]", "transifex-integration[bot]", "imgbot[bot]", "Copilot", "BornToBeRoot"]'), github.event.pull_request.user.login) | ||||
| permissions: | ||||
| issues: write | ||||
| pull-requests: write | ||||
|
||||
| pull-requests: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This workflow name is quite generic, but the workflow only assigns a single, specific label (dependencies). Renaming it to something like "Assign dependencies label" would make it easier to identify in the Actions UI and in audit logs.