From fa2570a5c02417bcf6e32aebbe96cc4e2fbf79c3 Mon Sep 17 00:00:00 2001 From: Claudia Meadows Date: Tue, 24 Sep 2024 20:28:43 -0700 Subject: [PATCH] Swap comment and triage Temporary workaround for https://github.com/orgs/community/discussions/139651 so this can still ping even if the project add fails. --- .github/workflows/notify-triage.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/notify-triage.yml b/.github/workflows/notify-triage.yml index 81debf8..656c860 100644 --- a/.github/workflows/notify-triage.yml +++ b/.github/workflows/notify-triage.yml @@ -30,9 +30,9 @@ jobs: exit 1 ;; esac - - name: Add project - run: gh ${{ steps.validated.outputs.cmd }} edit --repo "${{ github.repository }}" "${{ github.event.number || github.event.issue.number }}" --add-project 'Triage/bugs' - name: Post comment # Don't ping over dependabot's dependency updates. That's just going to annoy people. if: ${{ github.actor != 'dependabot[bot]' }} run: gh ${{ steps.validated.outputs.cmd }} comment --repo "${{ github.repository }}" "${{ github.event.number || github.event.issue.number }}" --body '@MithrilJS/triage Please take a look.' + - name: Add project + run: gh ${{ steps.validated.outputs.cmd }} edit --repo "${{ github.repository }}" "${{ github.event.number || github.event.issue.number }}" --add-project 'Triage/bugs'