-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update github action with correct dependabot actor (#17)
- Loading branch information
1 parent
ee888c4
commit b04cac9
Showing
1 changed file
with
3 additions
and
2 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,19 +23,20 @@ jobs: | |
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' && !contains(steps.checkUserMember.outputs.teams, 'engineers') && github.actor != 'app/dependabot'}} | ||
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' && !contains(steps.checkUserMember.outputs.teams, 'staff') && github.actor != 'app/dependabot'}} | ||
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: | | ||
|