Skip to content

Commit 25e3749

Browse files
authored
Remove persist-credentials: false and git remote workaround (#335)
1 parent 6e10264 commit 25e3749

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

.github/workflows/main.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
steps:
1818
- name: 🛒 Checkout repository
19-
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
20-
with:
21-
persist-credentials: false
19+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 # zizmor: ignore[artipacked]
2220
- name: 🔧 Configure git
2321
run: |
2422
git config --global user.name 'Github Actions'
@@ -51,7 +49,6 @@ jobs:
5149
- name: 🚀 Push changes
5250
if: github.ref == 'refs/heads/main' && steps.commit.outputs.version
5351
run: |
54-
git remote set-url origin https://x-access-token:${{ github.token }}@github.com/${{ github.repository }}
5552
git push origin HEAD:refs/heads/main
5653
git push origin --tags -f
5754
- name: 🎉 Create GitHub release

0 commit comments

Comments
 (0)