Skip to content

Commit

Permalink
ci: add workflow to add issues and PRs to project
Browse files Browse the repository at this point in the history
  • Loading branch information
tasshi-me committed Feb 17, 2023
1 parent 1d4d6c6 commit 68eb704
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: project

on:
issues:
types:
- opened
- transferred
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add Issue or PR to project
runs-on: ubuntu-latest
steps:
- uses: cybozu/octoken-action@v1
id: create-iat
with:
github_app_id: ${{ secrets.PROJECT_GITHUB_APP_ID}}
github_app_private_key: ${{ secrets.PROJECT_GITHUB_APP_KEY }}
- uses: actions/[email protected]
with:
project-url: ${{ secrets.PROJECT_URL }}
github-token: ${{ steps.create-iat.outputs.token }}

0 comments on commit 68eb704

Please sign in to comment.