Skip to content

ci: handle security workflows for fork pull requests - #800

Open
ANSHUL-REAL wants to merge 2 commits into
auth0:masterfrom
ANSHUL-REAL:ci/skip-snyk-on-fork-prs
Open

ci: handle security workflows for fork pull requests#800
ANSHUL-REAL wants to merge 2 commits into
auth0:masterfrom
ANSHUL-REAL:ci/skip-snyk-on-fork-prs

Conversation

@ANSHUL-REAL

@ANSHUL-REAL ANSHUL-REAL commented Sep 2, 2026

Copy link
Copy Markdown

This resolves two CI workflow problems:\n\n- Skip Snyk for external fork pull requests because GitHub withholds the repository-owned SNYK_TOKEN from those runs. Internal pull requests, pushes, merge queues, manual dispatches, and scheduled scans retain the Snyk check.\n- Remove the empty .github/workflows/semgrep.yml. GitHub registers it as an active workflow, then immediately fails it because it has no workflow definition or jobs.\n\nThe actual Gradle wrapper-validation workflow passes.

@ANSHUL-REAL
ANSHUL-REAL requested a review from a team as a code owner September 2, 2026 07:14
@ANSHUL-REAL
ANSHUL-REAL force-pushed the ci/skip-snyk-on-fork-prs branch from c2bab8a to 80b2d7e Compare September 2, 2026 07:19
@ANSHUL-REAL ANSHUL-REAL changed the title ci: skip Snyk scan for fork pull requests ci: handle security workflows for fork pull requests Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant