Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/release-v0.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,20 @@ jobs:
contents: write
needs: integration-tests
steps:
- name: Create GitHub App token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
client-id: ${{ secrets.GH_APP_FB_DB_CI_WRITER_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_FB_DB_CI_WRITER_APP_KEY_PEM }}
permission-contents: write

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
ref: 0.x
token: ${{ secrets.RELEASE_PAT }}
token: ${{ steps.app-token.outputs.token }}

- name: 'Publish action'
uses: firebolt-db/action-python-release@main
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,19 @@ jobs:
contents: write
needs: integration-tests
steps:
- name: Create GitHub App token
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
id: app-token
with:
client-id: ${{ secrets.GH_APP_FB_DB_CI_WRITER_CLIENT_ID }}
private-key: ${{ secrets.GH_APP_FB_DB_CI_WRITER_APP_KEY_PEM }}
permission-contents: write

- name: Check out code
uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.RELEASE_PAT }}
token: ${{ steps.app-token.outputs.token }}

- name: 'Publish action'
uses: firebolt-db/action-python-release@main
Expand All @@ -39,3 +47,4 @@ jobs:
pypi-username: ${{ secrets.PYPI_USERNAME }}
pypi-password: ${{ secrets.PYPI_PASSWORD }}
version-file-path: "src/firebolt/__init__.py"
main-branch: 0.x
Loading