Skip to content

Commit

Permalink
ci: update add-to-project github action to add PRs to project (#2594)
Browse files Browse the repository at this point in the history
  • Loading branch information
agatha197 authored Aug 7, 2024
1 parent fcfb690 commit cd91fa4
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/add-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,30 @@ on:
issues:
types:
- opened
pull_request:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
name: Add issue or pull request to project
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/lablup/projects/13
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/lablup/projects/20
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
- uses: actions/add-to-project@v0.5.0
- uses: actions/add-to-project@v1.0.2
with:
# You can target a repository in a different organization
# to the issue
project-url: https://github.com/orgs/lablup/projects/24
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}

0 comments on commit cd91fa4

Please sign in to comment.