workflows/project.yml: Add all opened issues to D2 project automatically

This commit is contained in:
Anmol Sethi 2022-12-01 04:07:41 -08:00
parent 0fc29bf1f7
commit 264a164cf6
No known key found for this signature in database
GPG key ID: 25BC68888A99A8BA

15
.github/workflows/project.yml vendored Normal file
View file

@ -0,0 +1,15 @@
name: d2-project
on:
issues:
types:
- opened
jobs:
d2-project:
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@v0.4.0
with:
project-url: https://github.com/orgs/terrastruct/projects/34
github-token: ${{ secrets._GITHUB_TOKEN }}