Skip to content

Commit

Permalink
Modify rebase script
Browse files Browse the repository at this point in the history
  • Loading branch information
tevincent committed Sep 18, 2024
1 parent 862d068 commit 9c22aa1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/rebase-default-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: git checkout
uses: actions/checkout@v3
uses: actions/checkout@v4.1.7
with:
token: ${{ secrets.REBASE_PR_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: 0

Expand All @@ -40,7 +39,8 @@ jobs:

- name: perform rebase
run: |
git config --global user.email "[email protected]"
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git status
git pull
git checkout "$DEFAULT_BRANCH"
Expand Down

0 comments on commit 9c22aa1

Please sign in to comment.