We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 959aa22 commit 684480eCopy full SHA for 684480e
1 file changed
.github/workflows/publish.yml
@@ -14,15 +14,11 @@ jobs:
14
publish:
15
runs-on: ubuntu-latest
16
steps:
17
- - uses: actions/checkout@v3
18
- - name: Setup git repo
19
- env:
20
- GH_USERNAME: ${{ vars.GH_USER_NAME }}
21
- GH_API_TOKEN: ${{ secrets.GH_API_TOKEN }}
+ - uses: actions/checkout@v6
+ token: ${{ secrets.GH_API_TOKEN }}
22
run: |
23
git config user.name $GITHUB_ACTOR
24
- git config user.email gh-actions-${GITHUB_ACTOR}@github.com
25
- git remote add gh-origin https://${GH_USERNAME}:${GH_API_TOKEN}@github.com/${GITHUB_REPOSITORY}.git
+ git config user.email gh-actions-${GITHUB_ACTOR}@github.com
26
- name: Set up Python
27
uses: actions/setup-python@v4
28
with:
0 commit comments