Skip to content

Commit

Permalink
Add fork debugging to init.yml (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard authored Aug 14, 2024
1 parent c86b97c commit 4c16685
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/init.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,9 @@ jobs:
# no-op if the repository is already forked
run: |
cd upstream
echo ::group::Fork debugging
gh repo fork --clone=false --default-branch-only
echo ::endgroup::
echo UPSTREAM=$(gh repo fork --clone=false --default-branch-only 2>&1 | awk '{print $1}') >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.SYNC_TOKEN }}
Expand Down Expand Up @@ -102,6 +105,9 @@ jobs:
# no-op if the repository is already forked
run: |
cd downstream
echo ::group::Fork debugging
gh repo fork --clone=false --default-branch-only
echo ::endgroup::
echo DOWNSTREAM=$(gh repo fork --clone=false --default-branch-only 2>&1 | awk '{print $1}') >> $GITHUB_ENV
env:
GH_TOKEN: ${{ secrets.SYNC_TOKEN }}
Expand Down

0 comments on commit 4c16685

Please sign in to comment.