From 0831c42cc0d3f8f0c7cc3f5b7f61ea636fd88f34 Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Fri, 10 Nov 2023 09:58:25 +0000 Subject: [PATCH] Adds workflow to automatically add issues to TopoStats project Closes #3 --- .github/workflows/add-issue-to-project.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflows/add-issue-to-project.yaml diff --git a/.github/workflows/add-issue-to-project.yaml b/.github/workflows/add-issue-to-project.yaml new file mode 100644 index 0000000..1124d15 --- /dev/null +++ b/.github/workflows/add-issue-to-project.yaml @@ -0,0 +1,20 @@ +name: Add Issues to Project + +on: + issues: + types: + - opened + +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/AFM-SPM/projects/2 + github-token: ${{ secrets.GH_ISSUE_TO_PROJECT }} + labeled: admin, blocked, bug, CI/CD, DNATracing, documentation, enhancement, Filters, Grains, GrainStats, Images, linting, Plotting, testing, user experience + label-operator: OR