-
Notifications
You must be signed in to change notification settings - Fork 10
Add auto-labeling/assigning functionality to repository workflows #777
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
Merged
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
da08d95
Add auto-labeling/assigning functionality to repository workflows
forstmeier 15431d1
Add missing logic for assignment permissions
forstmeier abe7519
Merge branch 'master' into add-pull-request-automations
forstmeier 5d13f78
Address PR #777 feedback: add permissions and trigger types to workfl…
forstmeier e118d0c
Change assignment Action implementation/organize configuration files
forstmeier 1f2ebaf
Merge branch 'master' into add-pull-request-automations
forstmeier 005d109
Move configuration files out of workflows/ directory
forstmeier 94d0840
Rename code checks workflow
forstmeier 16c5075
Update Dependabot trigger frequency
forstmeier da1a0e9
Merge branch 'master' into add-pull-request-automations
forstmeier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| addReviewers: true | ||
| addAssignees: author | ||
| reviewers: | ||
| - forstmeier | ||
| - chrisaddy | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| --- | ||
| markdown: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - "**/*.md" | ||
|
|
||
| python: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - "**/*.py" | ||
| - "**/pyproject.toml" | ||
| - "**/uv.lock" | ||
|
|
||
| rust: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - "**/*.rs" | ||
| - "**/Cargo.toml" | ||
| - "**/Cargo.lock" | ||
|
|
||
| yaml: | ||
| - changed-files: | ||
| - any-glob-to-any-file: | ||
| - "**/*.yml" | ||
| - "**/*.yaml" | ||
|
forstmeier marked this conversation as resolved.
forstmeier marked this conversation as resolved.
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,20 @@ | ||
| --- | ||
| name: Assign pull request reviewers | ||
| run-name: Assign pull request reviewers | ||
| on: | ||
| pull_request: | ||
|
forstmeier marked this conversation as resolved.
|
||
| types: | ||
| - opened | ||
| jobs: | ||
| assign_pull_request_reviewers: | ||
| name: Assign pull request reviewers | ||
| runs-on: ubuntu-latest | ||
|
forstmeier marked this conversation as resolved.
|
||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
|
forstmeier marked this conversation as resolved.
|
||
| steps: | ||
| - name: Assign pull request reviewers and assignees | ||
| uses: kentaro-m/auto-assign-action@v2.0.1 | ||
|
forstmeier marked this conversation as resolved.
|
||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| configuration-path: .github/assignment_configuration.yaml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,22 @@ | ||
| --- | ||
| name: Label pull requests | ||
| run-name: Label pull requests | ||
| on: | ||
| pull_request: | ||
|
forstmeier marked this conversation as resolved.
forstmeier marked this conversation as resolved.
|
||
| types: | ||
| - opened | ||
| - synchronize | ||
| - reopened | ||
| jobs: | ||
| label_pull_request: | ||
| name: Label pull request | ||
| runs-on: ubuntu-latest | ||
| permissions: | ||
| contents: read | ||
| pull-requests: write | ||
| steps: | ||
| - name: Label pull request | ||
| uses: actions/labeler@v5 | ||
|
forstmeier marked this conversation as resolved.
|
||
| with: | ||
| repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
|
forstmeier marked this conversation as resolved.
forstmeier marked this conversation as resolved.
|
||
| configuration-path: .github/label_configuration.yaml | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.