Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
parthea committed Jun 20, 2023
1 parent e36329d commit 92f9550
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,18 +34,21 @@ jobs:
id: date
run: echo "::set-output name=current_date::$(date +'%Y-%m-%d-%HH%MM%SS')"

- name: Check out main branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
env:
GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}

- name: Sync fork
run: gh repo sync $REPOSITORY -b $BRANCH_NAME
env:
GITHUB_TOKEN: ${{ secrets.YOSHI_CODE_BOT_TOKEN }}
REPOSITORY: ${{ github.event.pull_request.head.repo.full_name }}
BRANCH_NAME: ${{ github.ref_name }}

- name: Check out main branch
uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Create branch
run: |
Expand Down

0 comments on commit 92f9550

Please sign in to comment.