Add new and transferred issues to project

When a new issue is created or an issue is transferred
from another project, we add the issue to the Spectre.Console project
(https://github.com/orgs/spectreconsole/projects/1).
This commit is contained in:
Patrik Svensson 2022-10-04 21:55:16 +02:00 committed by Patrik Svensson
parent 999c59909b
commit cbfcc37a46
2 changed files with 19 additions and 1 deletions

18
.github/workflows/backlog.yaml vendored Normal file
View File

@ -0,0 +1,18 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Add issues/PRs to backlog automatically
on:
issues:
types:
- opened
- transferred
jobs:
add-to-project:
name: Add issue to backlog
runs-on: ubuntu-latest
steps:
- uses: actions/add-to-project@main
with:
project-url: https://github.com/orgs/spectreconsole/projects/1
github-token: ${{ secrets.PROJECT_TOKEN }}

View File

@ -1,5 +1,5 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Continuous Integration
name: Pull Request
on: pull_request
env: