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

Scheduled CodeQL action fails for non-master branches #3629

Open
gerardsn opened this issue Dec 19, 2024 · 0 comments
Open

Scheduled CodeQL action fails for non-master branches #3629

gerardsn opened this issue Dec 19, 2024 · 0 comments
Labels
bug Something isn't working dependencies Pull requests that update a dependency file security

Comments

@gerardsn
Copy link
Member

gerardsn commented Dec 19, 2024

see https://github.com/nuts-foundation/nuts-node/actions/runs/12401906128

Same for V5.4 branch:

Analyze (V6.0)
Unable to validate code scanning workflow: error: getWorkflow() failed: Error: Expected to find a code scanning workflow file at /home/runner/work/nuts-node/nuts-node/.github/workflows/codeql-analysis-cron-schedule.yml, but no such file existed. This can happen if the currently running workflow checks out a branch that doesn't contain the corresponding workflow file.

Copying the file sounds like an easy fix, but the action should fail if it cannot run successfully.


action was added in #3522 with several other concerns

@gerardsn gerardsn added bug Something isn't working dependencies Pull requests that update a dependency file security labels Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dependencies Pull requests that update a dependency file security
Projects
None yet
Development

No branches or pull requests

1 participant