Skip to content

Commit

Permalink
ci: Checkout the base branch of a pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
jamilraichouni committed Oct 23, 2024
1 parent 169cac7 commit e99df95
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-addon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -61,6 +62,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.base.ref }}
fetch-depth: 0
- name: Set up Python
uses: actions/setup-python@v5
Expand Down

0 comments on commit e99df95

Please sign in to comment.