Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Commit

Permalink
Add workflow to add issues/PRs to Project.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhemstad authored Aug 23, 2022
1 parent 8e156b3 commit 6c91378
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/add_to_project.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Add new issue/PR to project

on:
issues:
types:
- opened

pull_request:
types:
- opened

jobs:
add-to-project:
name: Add issue or PR to project
runs-on: ubuntu-latest
steps:
- name: Generate token
id: generate_token
uses: tibdex/github-app-token@36464acb844fc53b9b8b2401da68844f6b05ebb0
with:
app_id: ${{ secrets.CCCL_AUTH_APP_ID }}
private_key: ${{ secrets.CCCL_AUTH_APP_PEM }}
- name: Add to Project
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
uses: actions/[email protected]
with:
project-url: https://github.com/orgs/NVIDIA/projects/6
github-token: ${{ env.TOKEN }}

0 comments on commit 6c91378

Please sign in to comment.