Skip to content

Commit

Permalink
Create project_action.yml (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
mavaylon1 authored Jan 11, 2023
1 parent 8364afd commit 1742110
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/project_action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Add issues to Development Project Board

on:
issues:
types:
- opened

jobs:
add-to-project:
name: Add issue to project
runs-on: ubuntu-latest
steps:
- name: GitHub App token
id: generate_token
uses: tibdex/github-app-token@v1.7.0
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PEM }}

- name: Add to Developer Board
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/hdmf-dev/projects/7
github-token: ${{ env.TOKEN }}

- name: Add to Community Board
env:
TOKEN: ${{ steps.generate_token.outputs.token }}
uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/hdmf-dev/projects/8
github-token: ${{ env.TOKEN }}

0 comments on commit 1742110

Please sign in to comment.