From 7b3fc2f287bce99f0db23b186a432f47f24e883c Mon Sep 17 00:00:00 2001 From: Artem Bulgakov Date: Sun, 25 Feb 2024 18:39:01 +0300 Subject: [PATCH] ci: add workflow to automatically link issues to project --- .github/workflows/add-issues-to-project.yaml | 23 ++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/add-issues-to-project.yaml diff --git a/.github/workflows/add-issues-to-project.yaml b/.github/workflows/add-issues-to-project.yaml new file mode 100644 index 0000000..3134ebd --- /dev/null +++ b/.github/workflows/add-issues-to-project.yaml @@ -0,0 +1,23 @@ +name: Link issue to InNoHassle project + +on: + issues: + types: + - opened + - reopened + - transferred + pull_request: + types: + - opened + - reopened + +jobs: + add-to-project: + name: Add issue to project + if: github.repository_owner == 'one-zero-eight' # Do not run in forks + runs-on: ubuntu-latest + steps: + - uses: actions/add-to-project@v0.5.0 + with: + project-url: https://github.com/orgs/one-zero-eight/projects/4 + github-token: ${{ secrets.ACTIONS_PAT_PROJECTS }}