Skip to content

Commit

Permalink
serialize github object
Browse files Browse the repository at this point in the history
  • Loading branch information
willhickey committed Mar 8, 2024
1 parent 31734fb commit 124b6f5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/update_upstream_from_fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@ env:
GH_TOKEN: ${{ secrets.SYNC_TEST_ADMIN }}
GH_REPO: ${{ github.repository }}
BASE_REF: ${{ github.event.base_ref}} # TODO this isn't populated
REF: ${{ github.event.REF}} # TODO this isn't populated
REF: ${{ github.event.REF}}
BEFORE_SHA: ${{ github.event.before }}
LAST_SHA: ${{ github.event.after}}
UPSTREAM: https://github.com/solana-labs/sync_test.git
GITHUB_OBJ: ${{ toJSON(github) }}

jobs:
update-upstream-from-fork:
Expand All @@ -26,6 +27,7 @@ jobs:
- name: Echo ENV
# TODO improve logging
run: |
echo "GITHUB_OJB: $GITHUB_OBJ"
echo "GH_REPO: $GH_REPO"
echo "BASE_REF: $BASE_REF"
echo "REF: $REF"
Expand Down Expand Up @@ -61,5 +63,4 @@ jobs:
.github/workflows/cherry-pick-from-branch.sh upstream master "$BEFORE_SHA" "$LAST_SHA"
shell: bash
# TODO master is hardcoded in script call above.
# TODO add a bunch of debugging prints about the state of commits so if cherry-pick fails we can figure it out.
# TODO Minimize the PAT permissions

0 comments on commit 124b6f5

Please sign in to comment.