diff --git a/.github/workflows/platform-workflow-labels.yml b/.github/workflows/platform-workflow-labels.yml index df253e2dffc95..d816029812f90 100644 --- a/.github/workflows/platform-workflow-labels.yml +++ b/.github/workflows/platform-workflow-labels.yml @@ -11,19 +11,31 @@ jobs: permissions: issues: write steps: - - name: Label Platform Workflow Issue + - name: Label Issue uses: andymckay/labeler@1.0.4 with: add-labels: "platform-workflow/requires-grooming" repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Add Issue To Project + uses: action/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' }} runs-on: ubuntu-latest permissions: issues: write steps: - - name: Unlabel Platform Workflow Issue + - name: Unlabel Issue uses: andymckay/labeler@1.0.4 with: remove-labels: "platform-workflow/requires-grooming" repo-token: ${{ secrets.GITHUB_TOKEN }} + - name: Remove Issue From Project + uses: monry/actions-delete-issue-from-project@v2.0.1 + with: + github-token: ${{ secrets.PLATFORM_WORKFLOW_PROJECT_AUTOMATION }} + project-owner: airbytehq + project-number: 25 + issue-id: ${{ github.event.issue.node_id }}