diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2bead31..50208c4 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,11 +1,7 @@ on: push: branches: ["6.1"] - - # temporary to allow running of action - pull_request: - branches: ["main"] - workflow_dispatch: {} + workflow_dispatch: {} permissions: contents: write @@ -61,6 +57,17 @@ jobs: npm_package_name: mongodb-client-encryption dry_run: ${{ needs.release_please.outputs.release_created == '' }} + - name: Set up silk environment + shell: bash + run: | + set -eu + SILKBOMB_ENVFILE=/tmp/silkbomb-envfile + cat << EOF > $SILKBOMB_ENVFILE + SILK_CLIENT_ID=${SILKBOMB_USER} + SILK_CLIENT_SECRET=${SILKBOMB_KEY} + EOF + echo 'SILKBOMB_ENVFILE=$SILKBOMB_ENVFILE' >> $GITHUB_ENV + - name: Copy sbom file to release assets shell: bash if: ${{ 'mongodb-client-encryption-6.1' == '' }}