diff options
Diffstat (limited to '.github/workflows/issue-labeled.yml')
-rw-r--r-- | .github/workflows/issue-labeled.yml | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/.github/workflows/issue-labeled.yml b/.github/workflows/issue-labeled.yml index 853455ef3..441f97723 100644 --- a/.github/workflows/issue-labeled.yml +++ b/.github/workflows/issue-labeled.yml @@ -10,23 +10,22 @@ jobs: runs-on: ubuntu-latest steps: - name: remove triage - if: | - ${{ contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'needs: triage') }} + if: contains(github.event.label.description, '(priority)') && contains(github.event.issue.labels.*.name, 'needs triage') uses: actions-cool/issues-helper@v3 with: actions: "remove-labels" token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} - labels: "needs: triage" + labels: "needs triage" - name: needs repro if: | - ${{ github.event.label.name == 'needs: repro' }} + ${{ github.event.label.name == 'needs repro' }} uses: actions-cool/issues-helper@v3 with: actions: "create-comment, remove-labels" token: ${{ secrets.GITHUB_TOKEN }} issue-number: ${{ github.event.issue.number }} body: | - Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://astro.new). Issues marked with `needs: repro` will be closed if they have no activity within 3 days. - labels: "needs: triage" + Hello @${{ github.event.issue.user.login }}. Please provide a [minimal reproduction](https://stackoverflow.com/help/minimal-reproducible-example) using a GitHub repository or [StackBlitz](https://astro.new). Issues marked with `needs repro` will be closed if they have no activity within 3 days. + labels: "needs triage" |