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

Change automated release PR to trigger workflow run #798

Open
3 tasks
stalniy opened this issue Feb 6, 2025 · 0 comments
Open
3 tasks

Change automated release PR to trigger workflow run #798

stalniy opened this issue Feb 6, 2025 · 0 comments

Comments

@stalniy
Copy link
Contributor

stalniy commented Feb 6, 2025

Why

In order to make PR merging more safe, we would like to enable certain GHA status checks as required but we cannot do this right because with the current implementation release PR doesn't trigger workflow run and basically looks like it stuck. This is how it works in GHA by design

There are few workarounds though described in https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs

The best option is to create minimalistic github app under organization account and use it to generate tokens that triggers workflow run.

What

Create github app and use it to generate token which is then will be used to create PR in console repository

Acceptance

  • create github app
  • use it to generate release PR
  • add github app to bypass list so it doesn't run status checks
@stalniy stalniy changed the title Make automated release PR triggers workflow run Change automated release PR to trigger workflow run Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant