Skip to content

Commit

Permalink
Merge branch 'main' into feature/adding_client_credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
kishore7snehil authored Oct 23, 2024
2 parents 9734582 + 85c2f92 commit af015cf
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 af015cf

Please sign in to comment.