-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
71404fa
commit 2cfcebf
Showing
6 changed files
with
66 additions
and
28 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
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 |
---|---|---|
@@ -1,27 +1,34 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: "Meta: Label Sync" | ||
name: Meta - Label Sync | ||
|
||
on: | ||
workflow_dispatch: {} # Manual Trigger | ||
workflow_dispatch: | ||
inputs: | ||
dry-run: | ||
description: "Run the action without making changes" | ||
default: true | ||
required: false | ||
type: boolean | ||
|
||
pull_request: | ||
paths: | ||
- ".github/configs/labels.yaml" | ||
- ".github/workflows/meta-label-sync.yaml" | ||
|
||
push: | ||
branches: ["main"] | ||
paths: | ||
- ".github/configs/labels.yaml" | ||
- ".github/workflows/meta-label-sync.yaml" | ||
|
||
schedule: | ||
- cron: "0 0 * * *" # Every day at midnight | ||
|
||
permissions: | ||
issues: write | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
label-sync: | ||
uses: mirceanton/reusable-workflows/.github/workflows/meta-label-sync.yaml@main | ||
uses: mirceanton/reusable-workflows/.github/workflows/meta-label-sync.yaml@feb7161818c3ae82cd4ea25c606c1feefa19643d | ||
secrets: inherit | ||
with: | ||
config-file: .github/configs/labels.yaml | ||
dry-run: ${{ github.event.inputs.dry-run || github.event_name == 'pull_request' }} | ||
config-file: ".github/configs/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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
--- | ||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | ||
name: "Meta: PR Labeler" | ||
name: Meta - Labeler | ||
|
||
on: | ||
workflow_dispatch: {} # Manual Trigger | ||
pull_request_target: {} | ||
|
||
jobs: | ||
labeler: | ||
uses: mirceanton/reusable-workflows/.github/workflows/meta-labeler.yaml@main | ||
pr-labeler: | ||
uses: mirceanton/reusable-workflows/.github/workflows/meta-labeler.yaml@feb7161818c3ae82cd4ea25c606c1feefa19643d | ||
secrets: inherit | ||
with: | ||
config-file: .github/configs/labeler.yaml | ||
config-file: ".github/configs/labeler.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,8 +6,7 @@ on: | |
workflow_dispatch: {} | ||
|
||
push: | ||
branches: | ||
- main | ||
branches: ["main"] | ||
|
||
pull_request: | ||
paths: | ||
|
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