Skip to content

Commit eea9396

Browse files
committed
chore(ci): pull branch correctly
1 parent 35e276a commit eea9396

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/release.yml

+18
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,24 @@ jobs:
6464
needs: [finalize-release]
6565
runs-on: ubuntu-latest
6666
steps:
67+
- uses: actions/checkout@v4
68+
# Pull the latest version of the reference
69+
# branch instead of the revision that triggered
70+
# the workflow otherwise we won't get the commit
71+
# created in the previous job and this next job
72+
# will fail.
73+
with:
74+
ref: ${{ github.ref }}
75+
- name: Configure Identity
76+
# Commits from github-actions do not
77+
# trigger other GitHub Actions. As a result,
78+
# we push from Ionitron instead so actions
79+
# run when merging the release branch
80+
# back into main.
81+
run: |
82+
git config user.name ionitron
83+
git config user.email [email protected]
84+
shell: bash
6785
# Lerna does not automatically bump versions
6886
# of Ionicons dependencies that have changed,
6987
# so we do that here.

0 commit comments

Comments
 (0)