Update update.yml
This commit is contained in:
19
.github/workflows/update.yml
vendored
19
.github/workflows/update.yml
vendored
@@ -65,12 +65,13 @@ jobs:
|
|||||||
commit-message: '[Bot] Deploy to iptv-org/api'
|
commit-message: '[Bot] Deploy to iptv-org/api'
|
||||||
clean: false
|
clean: false
|
||||||
- name: commit changes
|
- name: commit changes
|
||||||
if: ${{ !env.ACT }}
|
uses: stefanzweifel/git-auto-commit-action@v4
|
||||||
run: |
|
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
|
||||||
git config user.name "iptv-bot[bot]"
|
with:
|
||||||
git config user.email "84861620+iptv-bot[bot]@users.noreply.github.com"
|
commit_message: "[Bot] Update README.md" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}) workflow."
|
||||||
git add README.md
|
branch: master
|
||||||
git commit -m "[Bot] Update README.md" -m "Committed by [iptv-bot](https://github.com/apps/iptv-bot) via [update](https://github.com/iptv-org/iptv/actions/runs/${{ github.run_id }}) workflow." --no-verify || exit 0
|
commit_options: '--no-verify'
|
||||||
git status
|
file_pattern: README.md
|
||||||
git remote set-url origin https://${{ steps.create-app-token.outputs.token }}@github.com/iptv-org/iptv.git
|
repository: iptv-org/iptv
|
||||||
git push --set-upstream origin master
|
commit_user_name: iptv-bot[bot]
|
||||||
|
commit_user_email: 84861620+iptv-bot[bot]@users.noreply.github.com
|
||||||
|
|||||||
Reference in New Issue
Block a user