Merge pull request #544 from zitadel/livio-a-patch-1
chore: ignore dependabot for board PRs
This commit is contained in:
commit
c5619ab4ff
1 changed files with 3 additions and 3 deletions
6
.github/workflows/issue.yml
vendored
6
.github/workflows/issue.yml
vendored
|
@ -23,20 +23,20 @@ jobs:
|
||||||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
- uses: tspascoal/get-user-teams-membership@v3
|
- uses: tspascoal/get-user-teams-membership@v3
|
||||||
id: checkUserMember
|
id: checkUserMember
|
||||||
if: github.actor == 'dependabot[bot]'
|
if: github.actor != 'dependabot[bot]'
|
||||||
with:
|
with:
|
||||||
username: ${{ github.actor }}
|
username: ${{ github.actor }}
|
||||||
GITHUB_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
GITHUB_TOKEN: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
- name: add pr
|
- name: add pr
|
||||||
uses: actions/add-to-project@v0.5.0
|
uses: actions/add-to-project@v0.5.0
|
||||||
if: ${{ github.event_name == 'pull_request_target' && github.actor == 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'engineers')}}
|
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'engineers')}}
|
||||||
with:
|
with:
|
||||||
# You can target a repository in a different organization
|
# You can target a repository in a different organization
|
||||||
# to the issue
|
# to the issue
|
||||||
project-url: https://github.com/orgs/zitadel/projects/2
|
project-url: https://github.com/orgs/zitadel/projects/2
|
||||||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
- uses: actions-ecosystem/action-add-labels@v1.1.3
|
- 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')}}
|
if: ${{ github.event_name == 'pull_request_target' && github.actor != 'dependabot[bot]' && !contains(steps.checkUserMember.outputs.teams, 'staff')}}
|
||||||
with:
|
with:
|
||||||
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
github_token: ${{ secrets.ADD_TO_PROJECT_PAT }}
|
||||||
labels: |
|
labels: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue