diff --git a/.github/workflows/add-issue-to-project-tracker.yml b/.github/workflows/add-issue-to-project-tracker.yml new file mode 100644 index 0000000..1f594b9 --- /dev/null +++ b/.github/workflows/add-issue-to-project-tracker.yml @@ -0,0 +1,20 @@ +name: Add bugs to bugs project + +on: + issues: + types: + - opened + pull_request: + types: [opened, reopened] + +jobs: + add-to-project: + name: Add issue to project + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.4.0 + with: + # You can target a repository in a different organization + # to the issue + project-url: https://github.com/orgs/astronomy-commons/projects/7 + github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}