diff --git a/.github/workflows/add-to-project.yml b/.github/workflows/add-to-project.yml index 1b472d9..b8d81d0 100644 --- a/.github/workflows/add-to-project.yml +++ b/.github/workflows/add-to-project.yml @@ -1,29 +1,29 @@ -name: Add to Ecosystem WG Project - -on: - issues: - types: - - opened - pull_request_target: - types: - - opened - -permissions: {} - -jobs: - add-to-project: - runs-on: ubuntu-latest - steps: - - name: Generate GitHub App token - uses: electron/github-app-auth-action@384fd19694fe7b6dcc9a684746c6976ad78228ae # v1.1.1 - id: generate-token - with: - creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }} - org: electron - - name: Add to Project - uses: dsanders11/project-actions/add-item@2134fe7cc71c58b7ae259c82a8e63c6058255678 # v1.7.0 - with: - field: Opened - field-value: ${{ github.event.pull_request.created_at || github.event.issue.created_at }} - project-number: 89 - token: ${{ steps.generate-token.outputs.token }} +name: Add to Ecosystem WG Project + +on: + issues: + types: + - opened + pull_request_target: + types: + - opened + +permissions: {} + +jobs: + add-to-project: + runs-on: ubuntu-latest + steps: + - name: Generate GitHub App token + uses: electron/github-app-auth-action@e14e47722ed120360649d0789e25b9baece12725 # v2.0.0 + id: generate-token + with: + creds: ${{ secrets.ECOSYSTEM_ISSUE_TRIAGE_GH_APP_CREDS }} + org: electron + - name: Add to Project + uses: dsanders11/project-actions/add-item@2134fe7cc71c58b7ae259c82a8e63c6058255678 # v1.7.0 + with: + field: Opened + field-value: ${{ github.event.pull_request.created_at || github.event.issue.created_at }} + project-number: 89 + token: ${{ steps.generate-token.outputs.token }}