Skip to content

Commit

Permalink
add PR reference to checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
vivalareda committed Dec 20, 2023
1 parent a9d4a1a commit ab5cebc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/workflow-lint-test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:

- name: Checkout code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -100,7 +103,6 @@ jobs:
if: steps.compare_values.outputs.update_value == 'true'
uses: EndBug/add-and-commit@v9
with:
author_name: GitHub Actions Bot
author_email: [email protected]
default_author: github_actions
message: 'Update threshold'
add: '.github/workflows/gcp-deployment.yml'

0 comments on commit ab5cebc

Please sign in to comment.