mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-18 05:52:51 +00:00
# Which Problems Are Solved We move the login code to the zitadel repo. # How the Problems Are Solved The login repo is added to ./login as a git subtree pulled from the dockerize-ci branch. Apart from the login code, this PR contains the changes from #10116 # Additional Context - Closes https://github.com/zitadel/typescript/issues/474 - Also merges #10116 - Merging is blocked by failing check because of: - https://github.com/zitadel/zitadel/pull/10134#issuecomment-3012086106 --------- Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Max Peintner <[email protected]> Co-authored-by: Florian Forster <[email protected]>
42 lines
1.6 KiB
YAML
42 lines
1.6 KiB
YAML
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/[email protected]
|
|
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/[email protected]
|
|
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/[email protected]
|
|
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
|