Skip to content

Commit

Permalink
update github-repository-commit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
tsubakimoto committed Jul 30, 2023
1 parent 77b0109 commit 092a6de
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/github-repository-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 092a6de

Please sign in to comment.