Skip to content
This repository has been archived by the owner on Jul 8, 2024. It is now read-only.

Commit

Permalink
🐛 プル先の変更
Browse files Browse the repository at this point in the history
  • Loading branch information
yuito-it committed Mar 13, 2024
1 parent 2ddb3cf commit 9be66a4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/rebaseTemplate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,23 +26,18 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: git remote add template https://github.com/UniPro-tech/NextBlogComplateStarter.git
- name: HASH
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: echo "HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Pull
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git branch template/master_${{ env.HASH }}
git pull template master:template/master_${{ env.HASH }}
git pull template master:template/master
PR:
runs-on: ubuntu-latest
steps:
- name: Create pull request
uses: repo-sync/pull-request@v2
with:
source_branch: fix/hoge_${{ env.HASH }}
source_branch: template/master
destination_branch: main
pr_title: Update template
pr_label: dependencies
Expand Down

0 comments on commit 9be66a4

Please sign in to comment.