Update CI configs to v0.5.8

Update lint scripts and CI configs.
This commit is contained in:
Pion
2021-07-17 19:51:07 +09:00
committed by Atsushi Watanabe
parent e78f26fb43
commit 2e7ada3136
+7 -7
View File
@@ -52,11 +52,11 @@ jobs:
run: |
echo "::set-output name=msg::$(git status -s | wc -l)"
- uses: stefanzweifel/git-auto-commit-action@v4
- name: Commit and push
if: ${{ steps.git-status-output.outputs.msg != '0' }}
with:
commit_message: ${{ steps.last-commit-message.outputs.msg }}
commit_author: ${{ steps.last-commit-author.outputs.msg }}
commit_options: '--amend --no-edit'
push_options: '--force'
skip_fetch: true
run: |
git config user.email $(echo "${{ steps.last-commit-author.outputs.msg }}" | sed 's/\(.\+\) <\(\S\+\)>/\2/')
git config user.name $(echo "${{ steps.last-commit-author.outputs.msg }}" | sed 's/\(.\+\) <\(\S\+\)>/\1/')
git add AUTHORS.txt
git commit --amend --no-edit
git push --force https://github.com/${GITHUB_REPOSITORY} $(git symbolic-ref -q --short HEAD)