diff --git a/.github/workflows/build-node-openssl-fips-static.yml b/.github/workflows/build-node-openssl-fips.yml similarity index 97% rename from .github/workflows/build-node-openssl-fips-static.yml rename to .github/workflows/build-node-openssl-fips.yml index 3d4d502907f1be..524f20d42cb787 100644 --- a/.github/workflows/build-node-openssl-fips-static.yml +++ b/.github/workflows/build-node-openssl-fips.yml @@ -23,6 +23,11 @@ on: description: 'dir for searching for shared OpenSSL dlls' default: '' type: string + BUILD_REF: + description: 'ref to build' + required: true + default: 'main' + type: string jobs: build-node: @@ -48,7 +53,7 @@ jobs: with: repository: Asana/node path: node - ref: ${{ github.event_name == 'pull_request' && format('refs/pull/{0}/merge', github.event.pull_request.number) || github.ref_name }} + ref: ${{ BUILD_REF }} token: ${{ secrets.GITHUB_TOKEN }} - name: Extract Node Version