From 67b5c415fb46ac41df07fe28c2bdc66cea844e3c Mon Sep 17 00:00:00 2001 From: Elio Bischof Date: Tue, 3 Dec 2024 12:42:15 +0100 Subject: [PATCH] chore: stop adding issues to product board --- .github/workflows/issues.yml | 43 ------------------------------------ 1 file changed, 43 deletions(-) delete mode 100644 .github/workflows/issues.yml diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml deleted file mode 100644 index 480c339..0000000 --- a/.github/workflows/issues.yml +++ /dev/null @@ -1,43 +0,0 @@ -name: Add new issues to product management project - -on: - issues: - types: - - opened - pull_request_target: - types: - - opened - -jobs: - add-to-project: - name: Add issue and community pr to project - runs-on: ubuntu-latest - steps: - - name: add issue - uses: actions/add-to-project@v1.0.2 - if: ${{ github.event_name == 'issues' }} - with: - # You can target a repository in a different organization - # to the issue - project-url: https://github.com/orgs/zitadel/projects/2 - github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} - - uses: tspascoal/get-user-teams-membership@v3 - id: checkUserMember - if: github.actor != 'dependabot[bot]' - with: - username: ${{ github.actor }} - GITHUB_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }} - - name: add pr - uses: actions/add-to-project@v1.0.2 - if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'engineers')}} - with: - # You can target a repository in a different organization - # to the issue - project-url: https://github.com/orgs/zitadel/projects/2 - github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} - - uses: actions-ecosystem/action-add-labels@v1.1.3 - if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'staff')}} - with: - github_token: ${{ secrets.ADD_TO_PROJECT_PAT }} - labels: | - os-contribution