Skip to content

Commit

Permalink
Update platform-workflow-labels.yml (#21225)
Browse files Browse the repository at this point in the history
  • Loading branch information
colesnodgrass authored Jan 10, 2023
1 parent 09e4d99 commit 708f075
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/platform-workflow-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,31 +6,31 @@ on:

jobs:
label_issues:
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'team/platform-workflow' }}
if: ${{ github.event.action == 'labeled' && github.event.label.name == 'team/platform-move' }}
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Label Issue
uses: andymckay/labeler@1.0.4
with:
add-labels: "platform-workflow/requires-grooming"
add-labels: "platform-move/requires-grooming"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Add Issue To Project
uses: actions/add-to-project@v0.3.0
with:
project-url: https://github.com/orgs/airbytehq/projects/25
github-token: ${{ secrets.PLATFORM_WORKFLOW_PROJECT_AUTOMATION }}
unlabel_issues:
if: ${{ github.event.action == 'unlabeled' && github.event.label.name == 'team/platform-workflow' }}
if: ${{ github.event.action == 'unlabeled' && github.event.label.name == 'team/platform-move' }}
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- name: Unlabel Issue
uses: andymckay/labeler@1.0.4
with:
remove-labels: "platform-workflow/requires-grooming"
remove-labels: "platform-move/requires-grooming"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Remove Issue From Project
uses: monry/actions-delete-issue-from-project@v2.0.1
Expand Down

0 comments on commit 708f075

Please sign in to comment.