dvanoni / notero

A Zotero plugin for syncing items and notes into Notion
https://download.notero.vanoni.dev
MIT License
2.29k stars 99 forks source link

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

Closed dvanoni closed 3 months ago

dvanoni commented 3 months ago

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.

github-actions[bot] commented 3 months ago

🤖 Build Bot

✅ Successful build

⬇️ Download: notero-0.5.17-469