2022-01-15 20:07:01 +01:00
|
|
|
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'
|
2022-01-15 20:09:16 +01:00
|
|
|
column_name: 'Triage'
|