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

Run GHA on PRs created by backport-action #9365

Closed
korthout opened this issue May 12, 2022 · 2 comments · Fixed by #9426
Closed

Run GHA on PRs created by backport-action #9365

korthout opened this issue May 12, 2022 · 2 comments · Fixed by #9426
Assignees
Labels
area/build Marks an issue as related to our build pipeline (e.g. Maven settings, CI, etc.) kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. version:8.1.0-alpha2 version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0

Comments

@korthout
Copy link
Member

Description

When the backport-action creates pull requests, then our GHA workflows are not triggered/started.

This might be ok, because we can merge using bors, which will anyways run the CI again. But, we might want to receive feedback about the changes in the created PR as well.

If we want the GHA workflows to run for PRs created by the backport-action, then we should user a PAT (bot-user) for the backport action.

Why didn’t some event trigger my workflow?
When you use the repository’s GITHUB_TOKEN to perform tasks on behalf of the GitHub Actions app, events triggered by the GITHUB_TOKEN will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs, as highlighted in this topic 52. If you would like to trigger a workflow from a workflow run, you can trigger the event using a personal access token 208.

See https://github.community/t/the-github-actions-guidepost/168114

@korthout korthout added kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. area/build Marks an issue as related to our build pipeline (e.g. Maven settings, CI, etc.) labels May 12, 2022
@korthout
Copy link
Member Author

I'm the owner of the @backport-action bot user, I'd be happy to create a PAT for it that we can use in the Zeebe project, as it might highlight the project better.

@lenaschoenburg
Copy link
Member

Sounds good @korthout. If I understand correctly I can assign this to you then?

@Zelldon Zelldon added the version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0 label Oct 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/build Marks an issue as related to our build pipeline (e.g. Maven settings, CI, etc.) kind/toil Categorizes an issue or PR as general maintenance, i.e. cleanup, refactoring, etc. version:8.1.0-alpha2 version:8.1.0 Marks an issue as being completely or in parts released in 8.1.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants