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

Use absolute paths when referencing files in GHA #63

Merged
merged 23 commits into from
Apr 5, 2024
Merged

Conversation

mallport
Copy link

@mallport mallport commented Apr 4, 2024

All GHA workflows using this template have started randomly failing yesterday, with the error:
ERROR: Could not open requirements file: [Errno 2] No such file or directory: '.github/workflows/constraints.txt'

No idea why this happens, but changing the paths to absolute instead of relative fixes the issue.

Examples of repos where this has been happening:
https://github.com/statisticsnorway/dapla-toolbelt-pseudo/actions/runs/8535556405/job/23382201774
https://github.com/statisticsnorway/datadoc/actions/runs/8551480041/job/23430574692
https://github.com/statisticsnorway/ssb-klass-python/actions/runs/8537434661/job/23388004250

@mallport mallport added the bug Something isn't working label Apr 4, 2024
@arneso-ssb arneso-ssb self-requested a review April 5, 2024 13:08
@arneso-ssb arneso-ssb merged commit fdb18a9 into main Apr 5, 2024
7 checks passed
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

Successfully merging this pull request may close these issues.

3 participants