We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 23f7cdd + 734a2c6 commit 5a2975cCopy full SHA for 5a2975c
.github/workflows/release.yml
@@ -26,7 +26,10 @@ jobs:
26
contents: write
27
steps:
28
# Set things up
29
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
30
+ with:
31
+ ref: ${{ github.ref }} # Use ref here since we must commit on a branch
32
+ ssh-key: ${{secrets.DEPLOY_KEY}}
33
- name: Set up Python
34
uses: actions/setup-python@v2
35
with:
@@ -68,8 +71,8 @@ jobs:
68
71
echo "EOF" >> $GITHUB_ENV
69
72
- name: Commit and tag
70
73
run: |
- git config --global user.name "Matt Williams"
- git config --global user.email "[email protected].github.com"
74
+ git config --global user.name "GitHub Action"
75
+ git config --global user.email "action@github.com"
76
git commit -m "Release ${{ steps.get_version.outputs.version }}"
77
git tag "${{ steps.get_version.outputs.version }}"
78
git push --atomic --tags origin HEAD
0 commit comments