mirror of
https://github.com/iptv-org/epg
synced 2025-12-16 10:26:41 -05:00
Update _update-readme.yml
This commit is contained in:
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: |
|
||||
|
||||
Reference in New Issue
Block a user