Create issue-board.yml

This commit is contained in:
Daniel Løvbrøtte Olsen 2022-01-15 20:07:01 +01:00 committed by GitHub
parent 8369797ec4
commit 0adc314d1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 20 additions and 0 deletions

20
.github/workflows/issue-board.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: Auto Assign to Project(s)
on:
issues:
types: [opened, labeled]
issue_comment:
types: [created]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
assign_one_project:
runs-on: ubuntu-latest
name: Assign to One Project
steps:
- name: Assign new issues to main board
uses: srggrs/assign-one-project-github-action@1.2.1
if: github.event.action == 'opened'
with:
project: 'https://github.com/Programvareverkstedet/Drift/projects/1'