From 3cef8598637c5b9af9ea07d3a171224dd4afd97d Mon Sep 17 00:00:00 2001 From: Frederick Vollbrecht Date: Tue, 9 Dec 2025 13:22:33 +0100 Subject: [PATCH] add issue/PR autoadd --- .github/workflows/add-issues-to-project.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/add-issues-to-project.yml diff --git a/.github/workflows/add-issues-to-project.yml b/.github/workflows/add-issues-to-project.yml new file mode 100644 index 0000000..09ffd1c --- /dev/null +++ b/.github/workflows/add-issues-to-project.yml @@ -0,0 +1,19 @@ +name: Auto add to project + +on: + issues: + types: [opened] + pull_request: + types: [opened] + +jobs: + add-to-project: + name: Add ${{ github.event_name == 'issues' && 'Issue' || 'PR' }} to project + runs-on: ubuntu-latest + + steps: + - uses: actions/add-to-project@v1.0.2 + continue-on-error: true + with: + project-url: https://github.com/orgs/sandec/projects/1 + github-token: ${{ secrets.PAT }}