[Improve]: cloudflare/wrangler-action を利用したデプロイに変更する #2
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: Move new issues into Backlog | |
on: | |
issues: | |
types: [ opened ] | |
jobs: | |
add-to-project: | |
name: Add issue to project | |
runs-on: ubuntu-22.04 | |
steps: | |
# https://github.com/marketplace/actions/create-github-app-token | |
- name: Create GitHub App Token | |
uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3 | |
id: app-token | |
with: | |
app-id: ${{ vars.BOT_APP_ID }} | |
private-key: ${{ secrets.BOT_PRIVATE_KEY }} | |
# https://github.com/marketplace/actions/add-to-github-projects | |
- uses: actions/add-to-project@244f685bbc3b7adfa8466e08b698b5577571133e # v1.0.2 | |
with: | |
project-url: https://github.com/orgs/2rabs/projects/2 | |
github-token: ${{ steps.app-token.outputs.token }} |