From 7dbbb2160e6042be3c4920f2374674512f861e87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Simard?= Date: Mon, 14 Aug 2023 17:23:43 -0400 Subject: [PATCH] Possible fix for the triage not working (#1298) --- .github/workflows/triage.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/triage.yml b/.github/workflows/triage.yml index 2dcfeb3757..4c16d5d517 100644 --- a/.github/workflows/triage.yml +++ b/.github/workflows/triage.yml @@ -2,10 +2,10 @@ name: Bug triage on: issues: types: - - labeled + - opened jobs: triage: - if: github.event.label.name == 'bug' + if: github.event.issue.labels.contains('bug') runs-on: ubuntu-latest steps: - name: Create card @@ -13,7 +13,7 @@ jobs: with: project: Bug triage column: Requires investigation - repo-token: ${{ secrets.TRIAGE_TOKEN }} + repo-token: ${{ secrets.GITHUB_TOKEN }} - name: Comment issue uses: actions/github-script@v6 with: