forked from airbytehq/airbyte
-
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.
add grooming label support for team/platform-workflow issues (airbyte…
…hq#18127) * add grooming label support for team/platform-workflow issues * add newline
- Loading branch information
1 parent
38bb4f1
commit 0558b87
Showing
1 changed file
with
29 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,29 @@ | ||
name: Platform Workflow Labels | ||
|
||
on: | ||
issues: | ||
types: [ labeled, unlabeled ] | ||
|
||
jobs: | ||
label_issues: | ||
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'team/platform-workflow' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Label Platform Workflow Issue | ||
uses: andymckay/labeler@1.0.4 | ||
with: | ||
add-labels: "platform-workflow/requires-grooming" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
unlabel_issues: | ||
if: ${{ github.event.action == 'unlabeled' && github.event.label.name == 'team/platform-workflow' }} | ||
runs-on: ubuntu-latest | ||
permissions: | ||
issues: write | ||
steps: | ||
- name: Unlabel Platform Workflow Issue | ||
uses: andymckay/labeler@1.0.4 | ||
with: | ||
remove-labels: "platform-workflow/requires-grooming" | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} |