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

release_charm.yaml: Race condition if commit added while workflow is running #49

Open
carlcsaposs-canonical opened this issue Jun 14, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@carlcsaposs-canonical
Copy link
Contributor

release_charm.yaml fails to create GitHub release on git push tag

https://github.com/nextcloud-charmers/nextcloud-charms/actions/runs/5269541062/jobs/9527972305

@carlcsaposs-canonical carlcsaposs-canonical added the bug Something isn't working label Jun 14, 2023
@github-actions
Copy link

@carlcsaposs-canonical carlcsaposs-canonical changed the title refusing to allow a GitHub App to create or update workflow .github/workflows/release.yml without workflows permission release_charm.yaml: refusing to allow a GitHub App to create or update workflow .github/workflows/release.yml without workflows permission Jun 14, 2023
@carlcsaposs-canonical
Copy link
Contributor Author

Appears to have been a race condition from adding a commit after the workflow starts and before git push tag

No issues when commit not added: https://github.com/nextcloud-charmers/nextcloud-charms/actions/runs/5270138121

@carlcsaposs-canonical carlcsaposs-canonical changed the title release_charm.yaml: refusing to allow a GitHub App to create or update workflow .github/workflows/release.yml without workflows permission release_charm.yaml: Race condition if commit added while workflow is running Jun 14, 2023
@carlcsaposs-canonical
Copy link
Contributor Author

Similar issue with internal __release.yaml workflow: https://github.com/canonical/data-platform-workflows/actions/runs/5671814833/job/15369708749

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant