-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
It turns out that the current if statement in the Bandit and SonarQube action does not prevent the execution of the workflow on forks for instance on simple push events.
See: https://github.com/rhfogh/mxcubecore/actions/runs/16672531426/workflow#L61
The easiest fix would probably be to do the following:
if: github.repository == 'mxcube/mxcubecore'
The current check only checks if the PR is from the same repository but not that its from the "canonical" mxcubecore repository. There does not seem to be a way of checking that without hard coding the name like above (at least as far as I could see).
Metadata
Metadata
Assignees
Labels
No labels