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

ci: Use GitHub App token to run release-please job #518

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

dvanoni
Copy link
Owner

@dvanoni dvanoni commented Jun 16, 2024

GitHub Actions has a limitation where a workflow run using the default GITHUB_TOKEN will not trigger further workflow runs. This was impacting the release-please job because the release PRs created by it would not trigger the build job. This unfortunately led me to disable the build check for PRs to main, which was not ideal.

Educated by documentation for the create-pull-request action, I found a workaround for this using GitHub Apps and created the Notero Bot app for this purpose. The release-please job now uses the create-github-app-token action to create a token on behalf of Notero Bot and use that for creating the release PRs. This should hopefully result in workflows being run for these PRs, which will then allow us to re-enable the PR checks.

This PR also replaces google-github-actions/release-please-action with googleapis/release-please-action since it was recently moved.

Copy link
Contributor

github-actions bot commented Jun 16, 2024

🤖 Build Bot

✅ Successful build

⬇️ Download: notero-0.5.17-469

@dvanoni dvanoni force-pushed the github-app-token-release-action branch from d4d42e2 to c2ac319 Compare June 21, 2024 06:26
@dvanoni dvanoni merged commit 953c592 into main Jun 21, 2024
5 checks passed
@dvanoni dvanoni deleted the github-app-token-release-action branch June 21, 2024 06:30
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

Successfully merging this pull request may close these issues.

1 participant