mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 00:50:09 -04:00
Update _update-readme.yml
This commit is contained in:
parent
1550d10fb8
commit
2d8e587f6e
1 changed files with 4 additions and 4 deletions
8
.github/workflows/_update-readme.yml
vendored
8
.github/workflows/_update-readme.yml
vendored
|
@ -8,11 +8,11 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
run: echo "branch_name=$(date +'bot/auto-update-%s')" >> $GITHUB_OUTPUT
|
||||
run: echo "BRANCH_NAME=$(date +'bot/auto-update-%s')" >> $GITHUB_OUTPUT
|
||||
id: create-branch-name
|
||||
- run: git config user.name 'iptv-bot[bot]'
|
||||
- run: git config user.email '84861620+iptv-bot[bot]@users.noreply.github.com'
|
||||
- run: git checkout -b ${{ steps.create-branch-name.outputs.branch_name }}
|
||||
- run: git checkout -b ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||
- uses: actions/setup-node@v3
|
||||
if: ${{ !env.ACT }}
|
||||
with:
|
||||
|
@ -27,7 +27,7 @@ jobs:
|
|||
git add README.md
|
||||
git commit -m "[Bot] Update README.md"
|
||||
git status
|
||||
git push -u origin ${{ steps.create-branch-name.outputs.branch_name }}
|
||||
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||
- uses: tibdex/github-app-token@v1
|
||||
if: ${{ !env.ACT }}
|
||||
id: create-app-token
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
|||
id: pull-request
|
||||
with:
|
||||
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'
|
||||
pr_title: '[Bot] Update README.md'
|
||||
pr_body: |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue