Skip to content

Commit

Permalink
Try PUT a file while a bot
Browse files Browse the repository at this point in the history
  • Loading branch information
rtyley committed Feb 10, 2024
1 parent 1078b0c commit 348a63f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/reusable-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -180,9 +180,13 @@ jobs:
env:
KEY_FINGERPRINT: ${{ needs.init.outputs.key_fingerprint }}
KEY_EMAIL: ${{ needs.init.outputs.key_email }}
GH_TOKEN: ${{ steps.generate-github-app-token.outputs.token }}
run: |
echo "GITHUB_REF_NAME=$GITHUB_REF_NAME"
echo "GITHUB_REF=$GITHUB_REF"
gh api --method PUT /repos/:owner/:repo/contents/test-test \
--field message="Put da stuff" \
--field content="bXkgdXBkYXRlZCBmaWxlIGNvbnRlbnRz"
cd repo-with-unsigned-version-update-commits.git
RELEASE_TAG=$(git describe --tags --abbrev=0)
Expand Down

0 comments on commit 348a63f

Please sign in to comment.