Skip to content

Commit 8b4e314

Browse files
committed
fix
1 parent 0b15f88 commit 8b4e314

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/build_py_tools.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ jobs:
8080
with:
8181
persist-credentials: false
8282
token: ${{ steps.create_token.outputs.token }}
83-
ref: ${{ github.event.pull_request.head.sha || github.sha }}
83+
ref: ${{ github.event.pull_request.merge_commit_sha || github.sha }}
8484

8585
# To avoid giving unknown scripts elevated permissions, download them from the master branch
8686
- name: Get CI scripts from master (Linux and macOS)

.github/workflows/pytools.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
fetch-depth: 2
2525
repository: ${{ github.event.pull_request.head.repo.full_name }}
2626
ref: ${{ github.event.pull_request.head.sha }}
27+
2728
- name: Verify Python Tools Changed
2829
uses: tj-actions/changed-files@v42
2930
id: verify-changed-files
@@ -34,6 +35,7 @@ jobs:
3435
tools/espota.py
3536
tools/gen_esp32part.py
3637
tools/gen_insights_package.py
38+
3739
- name: List all changed files
3840
shell: bash
3941
run: |

0 commit comments

Comments
 (0)