Skip to content

Commit

Permalink
Merge branch 'main' into Add-Revrsing-Labs
Browse files Browse the repository at this point in the history
  • Loading branch information
developerkunal authored Oct 23, 2024
2 parents a5ec940 + 85c2f92 commit 1edbd38
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ on:
schedule:
- cron: "30 0 1,15 * *"
workflow_dispatch:
inputs:
pr_number:
description: "Pull Request number to run the workflow on (for fork PRs)"
required: false
default: ""

permissions:
contents: read
Expand Down Expand Up @@ -54,7 +59,7 @@ jobs:

- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.merge_commit_sha || github.ref }}
ref: ${{ github.event_name == 'workflow_dispatch' && inputs.pr_number != '' && format('refs/pull/{0}/head', inputs.pr_number) || github.event.pull_request.merge_commit_sha || github.ref }}

- uses: ./.github/actions/setup
with:
Expand Down

0 comments on commit 1edbd38

Please sign in to comment.