Consume ESLint 9 configs in CSNX #241
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add new issues to CSTI project | |
on: | |
issues: | |
types: | |
- opened | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-latest | |
steps: | |
- name: Use GitHub App Token | |
uses: actions/create-github-app-token@v1 | |
id: app-token | |
with: | |
app-id: ${{ secrets.ADD_TO_PROJECT_APP_ID }} # The ID of the GitHub App | |
private-key: ${{ secrets.ADD_TO_PROJECT_PRIVATE_KEY }} # The private key of the GitHub App | |
- name: add action | |
uses: actions/[email protected] | |
with: | |
# You can target a repository in a different organization | |
# to the issue | |
project-url: https://github.com/orgs/guardian/projects/61 | |
# A GitHub app token generated by the previous step | |
github-token: ${{ steps.app-token.outputs.token }} |