Skip to content

Commit

Permalink
feat: use a github app token to enable running workflows on automatic…
Browse files Browse the repository at this point in the history
… PR creation (#70)
  • Loading branch information
kedio-labs authored Jan 4, 2024
1 parent a2ca9af commit c88e6fc
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/update-submodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,19 @@ jobs:
- run: npm ci
- run: npm run update-submodules

- name: Generate token
uses: tibdex/github-app-token@v2
id: generate-token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6-rc
with:
token: ${{ steps.generate-token.outputs.token }}
delete-branch: true
commit-message: Update sub-modules
title: Update sub-modules
body: |
Update sub-modules

0 comments on commit c88e6fc

Please sign in to comment.