Skip to content

💥 require token for creating pull requests in auto update #8

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

Merged
merged 1 commit into from
Jun 19, 2024

Conversation

burgholzer
Copy link
Member

This PR adapts the reusable auto-update workflow for mqt-core to require a token for creating the update PR.

Ideally, this token is a Personal Access Token with repo scope because this allows the creation of the PR to also trigger corresponding on: pull request workflows in the PR.

Alternatively, the regular {{ github.token }} can be used, which still allows to create PRs, but workflows will not be run automatically for the created PR.
In order to still run workflows for such PRs, the PR can be manually closed and re-opened, which explicitly triggers the workflow runs.

@burgholzer burgholzer added continuous integration Anything related to the CI setup enhancement Improvement of an existing feature or request github_actions labels Jun 19, 2024
@burgholzer burgholzer merged commit 61f5b12 into main Jun 19, 2024
2 checks passed
@burgholzer burgholzer deleted the token-for-auto-update branch June 19, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
continuous integration Anything related to the CI setup enhancement Improvement of an existing feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant