diff --git a/.github/workflows/add-to-triage.yml b/.github/workflows/add-to-triage.yml index 50eca94..e39ec35 100644 --- a/.github/workflows/add-to-triage.yml +++ b/.github/workflows/add-to-triage.yml @@ -1,18 +1,19 @@ -name: Add to Triage +name: add-to-triage on: - issues: - types: - - opened + issues: + types: + - opened + - reopened + - transferred + + pull_request: + types: + - opened + - reopened jobs: - add-to-project: - name: Add issue to project - runs-on: ubuntu-latest - steps: - - uses: actions/add-to-project@v1 - with: - project-url: https://github.com/orgs/eslint/projects/3 - github-token: ${{ secrets.PROJECT_BOT_TOKEN }} - labeled: "triage:no" - label-operator: NOT + add-to-triage: + uses: eslint/workflows/.github/workflows/add-to-triage.yml@main + secrets: + PROJECT_BOT_TOKEN: ${{ secrets.PROJECT_BOT_TOKEN }}