Skip to content

Commit a73244d

Browse files
authored
fix: another attempt at fixing the release pushes (#892)
1 parent 278d3cd commit a73244d

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,21 +28,11 @@ jobs:
2828
uses: actions/checkout@v4
2929
with:
3030
fetch-depth: 0
31+
token: ${{ steps.generate-token.outputs.token }}
32+
3133
- name: Install Rust toolchain
3234
uses: dtolnay/rust-toolchain@stable
33-
34-
- name: Set git CLI credentials
35-
shell: bash
36-
env:
37-
GITHUB_TOKEN: ${{ steps.generate-token.outputs.token }}
38-
run: |
39-
# release-plz sometimes uses command line git which will use the GHA default creds
40-
# we swap that out for our GitHub App instead
41-
git config --global user.email "166170668+cynic-releaser[bot]@users.noreply.github.com"
42-
git config --global user.name "cynic-releaser[bot]"
43-
git config --global user.password ${GITHUB_TOKEN}
44-
echo "GIT_USER=${INPUT_ACTOR}:${INPUT_TOKEN}" >> $GITHUB_ENV
45-
35+
4636
- name: Run release-plz
4737
uses: MarcoIeni/release-plz-action@v0.5
4838
env:

0 commit comments

Comments
 (0)