mirror of
https://github.com/iptv-org/epg.git
synced 2025-05-10 17:10:07 -04:00
Update _update.yml
This commit is contained in:
parent
ef86890a2f
commit
9961854113
1 changed files with 4 additions and 2 deletions
6
.github/workflows/_update.yml
vendored
6
.github/workflows/_update.yml
vendored
|
@ -8,8 +8,6 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
|
||||||
fetch-depth: 0
|
|
||||||
- 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
|
id: create-branch-name
|
||||||
- run: git config user.name 'iptv-bot[bot]'
|
- run: git config user.name 'iptv-bot[bot]'
|
||||||
|
@ -64,6 +62,10 @@ jobs:
|
||||||
git add STATUS.md
|
git add STATUS.md
|
||||||
git commit --allow-empty -m "[Bot] Update STATUS.md"
|
git commit --allow-empty -m "[Bot] Update STATUS.md"
|
||||||
git status
|
git status
|
||||||
|
- name: Push to origin
|
||||||
|
if: ${{ !env.ACT }}
|
||||||
|
run: |
|
||||||
|
git remote add origin https://github.com/iptv-org/epg.git
|
||||||
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
git push -u origin ${{ steps.create-branch-name.outputs.BRANCH_NAME }}
|
||||||
- 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' }}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue