diff --git a/.github/workflows/backlog.yaml b/.github/workflows/backlog.yaml new file mode 100644 index 0000000..a70fbaf --- /dev/null +++ b/.github/workflows/backlog.yaml @@ -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 }} \ No newline at end of file diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 8f355aa..91baa84 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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: