Skip to content

Commit

Permalink
chore: run checks on auto PRs (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
eliobischof authored Aug 30, 2024
1 parent 5abf9ef commit c4ebcb1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/bump.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,13 +125,23 @@ jobs:
- name: Print Chart.yaml
run: cat charts/zitadel/Chart.yaml

- name: Generate GitHub App Token
id: generate-token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.ZITADEL_WORKFLOW_APP_ID }}
private-key: ${{ secrets.ZITADEL_WORKFLOW_APP_PRIVATE_KEY }}

- name: Create Pull Request
id: pull-request
uses: peter-evans/create-pull-request@v6
with:
title: Bump ZITADEL Version
branch: create-pull-request/bump
delete-branch: true
# We can't just use the GITHUB_TOKEN here, as it wouldn't trigger other workflows needed for the required checks.
# https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
token: ${{ steps.generate-token.outputs.token }}

- name: Enable Automerge
if: steps.pull-request.outputs.pull-request-operation == 'created'
Expand Down

0 comments on commit c4ebcb1

Please sign in to comment.