-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Tyler Ohlsen <[email protected]>
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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,26 @@ | ||
# Default all changes to backporting to 1.x branch | ||
backport 1.x: | ||
- '*' | ||
- '*/*' | ||
- '*/**/*' | ||
- '*/**/**/*' | ||
- '*/**/**/**/*' | ||
- '*/**/**/**/**/*' | ||
- '*/**/**/**/**/**/*' | ||
- '*/**/**/**/**/**/**/*' | ||
- '*/**/**/**/**/**/**/**/*' | ||
- '*/**/**/**/**/**/**/**/**/*' | ||
- '.github/**/*' | ||
|
||
# Adding "github actions" label to files in .github or its subdirectories | ||
github actions: | ||
- '.github/**/*' | ||
|
||
# Adding "documentation" label to markdown files or updating release notes | ||
documentation: | ||
- '*.md' | ||
- 'release-notes/*' | ||
|
||
# Adding a "dependencies" label when yarn.lock is updated | ||
dependencies: | ||
- 'yarn.lock' |
This file contains 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,26 @@ | ||
name: "Pull Request Labeler" | ||
on: | ||
pull_request_target: | ||
branches: | ||
- main | ||
types: | ||
- opened | ||
|
||
jobs: | ||
label: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
pull-requests: write | ||
steps: | ||
- name: GitHub App token | ||
id: github_app_token | ||
uses: tibdex/[email protected] | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
installation_id: 22958780 | ||
- name: Label | ||
uses: actions/labeler@v4 | ||
with: | ||
repo-token: ${{ steps.github_app_token.outputs.token }} |