-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #28 - troy/try-merged, r=TroyKomodo
Troy/try merged Fixes an unsound bug related to running a dry-run on an already merged PR. Adds a mechanism for auto-syncing labels. Removes the restriction on running tests on PRs Requested-by: TroyKomodo <[email protected]>
- Loading branch information
Showing
4 changed files
with
146 additions
and
1 deletion.
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,30 @@ | ||
- name: "B-brawl-failed" | ||
color: "B60205" | ||
- name: "B-brawl-merged" | ||
color: "5319E7" | ||
- name: "B-brawl-merging" | ||
color: "006B75" | ||
- name: "B-brawl-queued" | ||
color: "C2E0C6" | ||
- name: "B-brawl-try" | ||
color: "FBCA04" | ||
- name: "B-brawl-try-failed" | ||
color: "B60205" | ||
- name: "bug" | ||
color: "d73a4a" | ||
- name: "documentation" | ||
color: "0075ca" | ||
- name: "duplicate" | ||
color: "cfd3d7" | ||
- name: "enhancement" | ||
color: "a2eeef" | ||
- name: "good first issue" | ||
color: "7057ff" | ||
- name: "help wanted" | ||
color: "008672" | ||
- name: "invalid" | ||
color: "e4e669" | ||
- name: "question" | ||
color: "d876e3" | ||
- name: "wontfix" | ||
color: "ffffff" |
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
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,32 @@ | ||
name: Sync Labels | ||
|
||
on: | ||
schedule: | ||
- cron: "0 0 * * *" | ||
workflow_dispatch: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- ".github/labels.yaml" | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
synclabels: | ||
name: Sync Labels | ||
runs-on: ubuntu-24.04 | ||
|
||
permissions: write-all | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Sync labels | ||
uses: crazy-max/ghaction-github-labeler@v5 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
dry-run: ${{ github.event_name == 'pull_request' }} | ||
yaml-file: .github/labels.yaml |
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