Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add grooming label support for team/platform-workflow issues #18127

Merged
merged 4 commits into from
Oct 19, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 }}