Is your feature request related to a problem? Please describe.
As stated in the reference-system repo, the advised implementation for GitGuardian is the following: https://github.com/COPRS/reference-system/blob/05f03134aee89e6b5ac7c3cec4ed886df3776a3b/.github/workflows/docker-ci.yaml#L33-L40
The use of the "default branch" (=main branch in our project) isn't in line with deployment that have to be done on the develop branch. It is for example the case in this build pipeline:

Describe the solution you'd like
We think that the advised GitGuardian implementation should be corrected
Describe alternatives you've considered
See above
Additional context
None