Skip to content

Commit

Permalink
Use deploy key to allow release build to write back to repo (#3123)
Browse files Browse the repository at this point in the history
This updates our release and patch release workflows to use a deploy key to get around branch protections when pushing back updates to the repository. This is used for things like updating the artifact version, the release notes, and the yamsql version.
  • Loading branch information
alecgrieser authored Feb 10, 2025
1 parent 2a95bd8 commit e53d4d3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/patch_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
uses: actions/checkout@v4.2.2
with:
ref: ${{ inputs.branch }}
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Setup Base Environment
uses: ./actions/setup-base-env
- name: Setup FDB
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ jobs:
steps:
- name: Checkout sources
uses: actions/checkout@v4.2.2
with:
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Setup Base Environment
uses: ./actions/setup-base-env
- name: Setup FDB
Expand Down

0 comments on commit e53d4d3

Please sign in to comment.