Update _update.yml

This commit is contained in:
Aleksandr Statciuk 2022-10-27 00:00:52 +03:00
parent c1a66bc85d
commit 1853e1a6fa

View file

@ -56,13 +56,13 @@ jobs:
- if: ${{ !env.ACT }} - if: ${{ !env.ACT }}
run: | run: |
git add README.md git add README.md
git commit -m "[Bot] Update README.md" git commit --allow-empty -m "[Bot] Update README.md"
git status git status
- run: npm run status:update - run: npm run status:update
- if: ${{ !env.ACT }} - if: ${{ !env.ACT }}
run: | run: |
git add STATUS.md git add STATUS.md
git commit -m "[Bot] Update STATUS.md" git commit --allow-empty -m "[Bot] Update STATUS.md"
git status git status
- uses: repo-sync/pull-request@v2 - uses: repo-sync/pull-request@v2
if: ${{ !env.ACT && github.ref == 'refs/heads/master' }} if: ${{ !env.ACT && github.ref == 'refs/heads/master' }}
@ -71,7 +71,7 @@ jobs:
github_token: ${{ steps.create-app-token.outputs.token }} github_token: ${{ steps.create-app-token.outputs.token }}
source_branch: ${{ steps.create-branch-name.outputs.BRANCH_NAME }} source_branch: ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
destination_branch: 'master' destination_branch: 'master'
pr_title: '[Bot] Update README.md' pr_title: '[Bot] Daily update'
pr_body: | pr_body: |
This pull request is created via [update][1] workflow. This pull request is created via [update][1] workflow.