Make ffmpeg build workflow execute when script changes #313
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Before this, we were hacking the workflow definition to execute on a PR to test it. We don't want this running on every PR, because that would be wasteful and noisy. But we can easily make it run when the FFMpeg building script has changed, which is what we wanted before.
Previous versions of this PR had a trivial change to trigger CI. One of those runs: https://github.com/pytorch/torchcodec/actions/runs/11560100235?pr=313. The current one does not have that trivial change to the script, and the test does not run.