Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-sanders committed Jun 13, 2024
1 parent 9255c7d commit a6124dd
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/protobuf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,21 @@ jobs:
# we need all of the commits on the PR branch in order to be able to add new ones
fetch-depth: 100

- name: Debug
run: |
set -x
git remote -v
- name: Try:
run: |
touch foo
git add foo
git commit -m 'foo'
git remote add pr git@github.com:${{ github.event.pull_request.head.repo.owner.login }}/cylc-flow.git
git push pr HEAD:${{ github.head_ref }}



- name: Install Protobuf
uses: mamba-org/setup-micromamba@v1
with:
Expand Down Expand Up @@ -76,7 +91,7 @@ jobs:
echo '::info:: pushing update commit'
git add -u
git commit -m 'protobuf: updating generated files'
git remote add pr git@github.com:${{ github.event.pull_request.head.repo.owner.login }}/cylc-flow.git
# git remote add pr git@github.com:${{ github.event.pull_request.head.repo.owner.login }}/cylc-flow.git
git push pr HEAD:${{ github.head_ref }}
exit 0
fi

0 comments on commit a6124dd

Please sign in to comment.