Skip to content

Commit

Permalink
Merge pull request #23 from radoslawc/use_auth_app
Browse files Browse the repository at this point in the history
Use auth app to create PR
  • Loading branch information
radoslawc authored Aug 15, 2024
2 parents f5c764a + 6710c46 commit 3c22686
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/regen_dependabot_conf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,16 @@ jobs:
wget https://raw.githubusercontent.com/nephio-project/test-infra/main/tools/dependabot/generate_dependabot.py -O /tmp/generate_dependabot.py
python3 /tmp/generate_dependabot.py

- uses: tibdex/github-app-token@v1
id: generate-token
with:
app_id: ${{ secrets.HELPER_APP_ID }}
private_key: ${{ secrets.HELPER_APP_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ steps.generate-token.outputs.token }}
base: ${{ github.head_ref }}
commit-message: Regenerating Dependabot configuration
author: ${{ github.actor }} <${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com>
Expand Down

0 comments on commit 3c22686

Please sign in to comment.