Compare commits

...

3 Commits

Author SHA1 Message Date
Emily Rockman
0c2c022af7 update permissions 2023-08-15 08:40:25 -05:00
Emily Rockman
c65debc3f5 update permissions 2023-08-15 08:38:53 -05:00
Emily Rockman
5199b65074 convert to use trusted publishers 2023-08-15 08:35:42 -05:00

View File

@@ -196,19 +196,17 @@ jobs:
pypi-release:
name: PyPI Release
needs: [github-release]
permissions:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
contents: read
uses: dbt-labs/dbt-release/.github/workflows/pypi-release.yml@main
uses: dbt-labs/dbt-release/.github/workflows/pypi-release.yml@er/trusted-publisher
with:
version_number: ${{ inputs.version_number }}
test_run: ${{ inputs.test_run }}
secrets:
PYPI_API_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
TEST_PYPI_API_TOKEN: ${{ secrets.TEST_PYPI_API_TOKEN }}
slack-notification:
name: Slack Notification
if: ${{ failure() && (!inputs.test_run || inputs.nightly_release) }}