From 670492ab4af912c21ffd8100ddbf4e9934a80c1a Mon Sep 17 00:00:00 2001 From: Neil Shephard Date: Tue, 21 Jan 2025 10:11:31 +0000 Subject: [PATCH] ci: restore add-to-project.yaml workflow This was deleted by the :robot: that upgraded the Carpentries workflows so its being reinstated. --- .github/workflow/add-to-project.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .github/workflow/add-to-project.yaml diff --git a/.github/workflow/add-to-project.yaml b/.github/workflow/add-to-project.yaml new file mode 100644 index 0000000..1124d15 --- /dev/null +++ b/.github/workflow/add-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