OWASP / SecurityShepherd

Web and mobile application security training platform
https://owasp.org/www-project-security-shepherd/
GNU General Public License v3.0
1.34k stars 459 forks source link

[Fix] avoid running workflow job "release-security-shepherd" on forks #730

Closed rudosch closed 1 year ago

rudosch commented 1 year ago

The workflow job release-security-shepherd should not run on forks, thus .github/workflows/release.yml should be modified.

Probably an additional if condition has to be added by changing line 76 in release.yml from if: github.event_name != 'pull_request' to if: github.event_name != 'pull_request' && github.repository == 'OWASP/SecurityShepherd'

rudosch commented 1 year ago

As you would say: LGTM