diff --git a/.github/workflows/_update-readme.yml b/.github/workflows/_update-readme.yml index d50f6ff4..8552952a 100644 --- a/.github/workflows/_update-readme.yml +++ b/.github/workflows/_update-readme.yml @@ -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: |