Skip to content

Commit

Permalink
chore(fossa.yml): add support for dynamically fetching the correct gi…
Browse files Browse the repository at this point in the history
…t reference when running the workflow on a pull request
  • Loading branch information
jandroav committed Apr 15, 2024
1 parent b6263e3 commit a80b2ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ jobs:
steps:
- name: Checkout Code
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}

- name: Get Fossa Configuration
if: ${{ inputs.check_ai_generated_code }}
Expand Down

0 comments on commit a80b2ff

Please sign in to comment.