diff --git a/.github/workflows/github-repository-commit.yml b/.github/workflows/github-repository-commit.yml index 0fe7b2d..df4ad21 100644 --- a/.github/workflows/github-repository-commit.yml +++ b/.github/workflows/github-repository-commit.yml @@ -50,19 +50,14 @@ jobs: git config user.email 41898282+github-actions[bot]@users.noreply.github.com git add . git commit -m "Add date to README.md" - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - - name: Push to origin - if: steps.verify-diff.outputs.changed == 'true' - run: | git push --set-upstream origin $HEAD_BRANCH git checkout $BASE_BRANCH - - name: Dump - run: | echo "base-branch-name: $BASE_BRANCH" echo "base-branch-name=$BASE_BRANCH" >> $GITHUB_OUTPUT echo "head-branch-name: $HEAD_BRANCH" echo "head-branch-name=$HEAD_BRANCH" >> $GITHUB_OUTPUT + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} call-pull-request-workflow: name: Call pull request workflow needs: commit-on-branch