This repository was archived by the owner on Oct 27, 2025. It is now read-only.
Question: Future of this repository after migration to main zitadel repo #457
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Add new issues to product management project | |
| on: | |
| issues: | |
| types: | |
| - opened | |
| jobs: | |
| add-to-project: | |
| name: Add issue and community pr to project | |
| runs-on: ubuntu-latest | |
| if: github.repository_id == '622995060' | |
| 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 |