puppetlabs / cat-github-actions

1 stars 4 forks source link

(MAINT) Set condition to only run for puppetlabs #19

Closed pmcmaw closed 1 year ago

pmcmaw commented 1 year ago

Prior to this commit all submitted PRs kicked off a mend scan, however only members of the puppetlabs org have access to the credentials for the scanner to complete.

This commit adds a condition so that the mend scanner only runs on PRs that have an author with access to the mend credentials.

This PR was tested downstream in the following PR with negating the puppetlabs condition and I have confirmed that the workflow is skipped as expected.