Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: run checks on auto PRs #245

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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