diff --git a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml index 8719790c2..78a728948 100644 --- a/.github/workflows/project_automation_for_ticket_triage_via_labels.yml +++ b/.github/workflows/project_automation_for_ticket_triage_via_labels.yml @@ -8,28 +8,28 @@ jobs: steps: - name: add-potential-bugs-to-to-analyse-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "type:potential bug" || label == "type:confirmed bug" + if: github.event.label == "type:potential bug" || github.event.label == "type:confirmed bug" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: To Analyse - name: add-unreproduced-to-unreproduced-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:unreproduced" + if: github.event.label == "status:unreproduced" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Unreproduced - name: add-awaiting-information-to-insufficien-information-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:awaiting information" + if: github.event.label == "status:awaiting information" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1 GITHUB_PROJECT_COLUMN: Insufficient information - name: add-solved-to-solved-column uses: docker://takanabe/github-actions-automate-projects:v0.0.1 - if: label == "status:solved" + if: github.event.label == "status:solved" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_PROJECT_URL: https://github.com/OctoPrint/OctoPrint/projects/1