Skip to content

CI not triggered after workflow is manually triggered #833

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

Open
jpkrohling opened this issue Feb 20, 2025 · 2 comments
Open

CI not triggered after workflow is manually triggered #833

jpkrohling opened this issue Feb 20, 2025 · 2 comments
Labels
bug Something isn't working release-retro stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed

Comments

@jpkrohling
Copy link
Member

During the release of v0.120.0, I noticed that, on the first PR, the "Build" workflow was marked as "starting" but never actually started. I had to close the PR and open it again. I thought it was a fluke, but the same thing happened when I opened a new PR with contrib at v0.120.1. Closing and opening the PR did the trick once again.

Apparently, @bogdandrutu has the same thing happen to him, judging by the similar PR for v0.119.0, and the same behavior goes back to even v0.117.0. Apparently, we had it working for v0.116.0.

References:

@dosubot dosubot bot added the bug Something isn't working label Feb 20, 2025
@mowies
Copy link
Member

mowies commented Mar 11, 2025

I think this happens because the PR and all the github actions trigger events are done by the built-in github token and according to the docs, things triggered by the workflow-default github token are not run to prevent recursive cascades.

When you use the repository's GITHUB_TOKEN to perform tasks, events triggered by the GITHUB_TOKEN, with the exception of workflow_dispatch and repository_dispatch, will not create a new workflow run. This prevents you from accidentally creating recursive workflow runs. For example, if a workflow run pushes code using the repository's GITHUB_TOKEN, a new workflow will not run even when the repository contains a workflow configured to run when push events occur.

source

@mowies
Copy link
Member

mowies commented Mar 11, 2025

This is also one of the list purposed of the otelbot, maybe we could use that one to fix this issue.
https://github.com/open-telemetry/community/blob/main/assets.md#otelbot

@github-actions github-actions bot added the stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed label May 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working release-retro stale Issue has not had recent activity or appears to be solved. Stale issues will be automatically closed
Projects
None yet
Development

No branches or pull requests

2 participants