mirror of
https://github.com/nsnail/spectre.console.git
synced 2025-04-16 08:52:50 +08:00
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:
parent
999c59909b
commit
cbfcc37a46
18
.github/workflows/backlog.yaml
vendored
Normal file
18
.github/workflows/backlog.yaml
vendored
Normal 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 }}
|
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
@ -1,5 +1,5 @@
|
|||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
name: Continuous Integration
|
name: Pull Request
|
||||||
on: pull_request
|
on: pull_request
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user