Skip to content

Commit

Permalink
add grooming label support for team/platform-workflow issues (airbyte…
Browse files Browse the repository at this point in the history
…hq#18127)

* add grooming label support for team/platform-workflow issues

* add newline
  • Loading branch information
colesnodgrass authored and jhammarstedt committed Oct 31, 2022
1 parent 38bb4f1 commit 0558b87
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/platform-workflow-labels.yml
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 }}

0 comments on commit 0558b87

Please sign in to comment.