We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 387d37d commit eac358eCopy full SHA for eac358e
.github/workflows/pin-system-tests.yaml
@@ -40,6 +40,11 @@ jobs:
40
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
41
with:
42
ref: ${{ steps.define-base-branch.outputs.base_branch }}
43
+
44
+ - name: Get latest commit SHA of base branch
45
+ id: get-latest-commit-sha
46
+ run: |
47
+ echo "sha=$(git rev-parse HEAD)" >> $GITHUB_OUTPUT
48
49
- name: Define branch name
50
id: define-branch
@@ -87,7 +92,7 @@ jobs:
87
92
88
93
token: "${{ steps.octo-sts.outputs.token }}"
89
94
branch: "${{ steps.define-branch.outputs.branch }}"
90
- head-sha: "${{ github.sha }}"
95
+ head-sha: "${{ steps.get-latest-commit-sha.outputs.sha }}"
91
96
create-branch: true
97
command: push
98
commits: "${{ steps.create-commit.outputs.commit }}"
0 commit comments