-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the approve-merge-dependabot-pr action so it has permissions o…
…n private repos
- Loading branch information
Sebastien Belin
committed
Apr 18, 2023
1 parent
353025f
commit ad8aee8
Showing
2 changed files
with
23 additions
and
5 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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Approve And Merge Dependabot PR Trigger | ||
|
||
on: | ||
pull_request: | ||
|
||
jobs: | ||
gradle-check: | ||
name: Approve And Merge Dependabot PR Trigger | ||
uses: interlok-tooling/reusable-workflows/.github/workflows/approve-merge-dependabot-pr-trigger.yml@main | ||
secrets: | ||
DEPENDABOT_APPROVE_MERGE_GITHUB_TOKEN: ${{ secrets.DEPENDABOT_APPROVE_MERGE_GITHUB_TOKEN }} |
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
name: Approve And Merge Dependabot PR | ||
|
||
on: | ||
pull_request: | ||
repository_dispatch: | ||
types: | ||
- approve-merge-dependabot-pr | ||
|
||
jobs: | ||
gradle-check: | ||
build: | ||
name: Approve And Merge Dependabot PR | ||
uses: interlok-tooling/reusable-workflows/.github/workflows/approve-merge-dependabot-pr-trigger.yml@main | ||
secrets: | ||
DEPENDABOT_APPROVE_MERGE_GITHUB_TOKEN: ${{ secrets.DEPENDABOT_APPROVE_MERGE_GITHUB_TOKEN }} | ||
uses: interlok-tooling/reusable-workflows/.github/workflows/approve-merge-dependabot-pr.yml@main | ||
with: | ||
branch: ${{ github.event.client_payload.branch }} | ||
pull_request: ${{ github.event.client_payload.pull_request }} | ||
pull_request_title: ${{ github.event.client_payload.pull_request_title }} | ||
auto-approve-merge: ${{ github.event.client_payload.auto-approve-merge }} | ||
sha: ${{ github.event.client_payload.sha }} | ||
update-type: ${{ github.event.client_payload.update-type }} |