diff --git a/.github/workflows/java-cd.yml b/.github/workflows/java-cd.yml index 6ae296ffe9..ac8e771025 100644 --- a/.github/workflows/java-cd.yml +++ b/.github/workflows/java-cd.yml @@ -25,7 +25,7 @@ permissions: jobs: start-self-hosted-runner: - if: ${{ github.event.pull_request.head.repo.owner.login }} == 'valkey-io' + if: github.event.pull_request.head.repo.owner.login == 'valkey-io' runs-on: ubuntu-latest environment: AWS_ACTIONS steps: @@ -43,7 +43,7 @@ jobs: create-binaries-to-publish: needs: start-self-hosted-runner - if: ${{ github.event.pull_request.head.repo.owner.login }} == 'valkey-io' + if: github.event.pull_request.head.repo.owner.login == 'valkey-io' timeout-minutes: 35 env: JAVA_VERSION: '11' diff --git a/.github/workflows/npm-cd.yml b/.github/workflows/npm-cd.yml index 3f6e637f98..280552fd83 100644 --- a/.github/workflows/npm-cd.yml +++ b/.github/workflows/npm-cd.yml @@ -30,7 +30,7 @@ permissions: jobs: start-self-hosted-runner: - if: ${{ github.event.pull_request.head.repo.owner.login }} == 'valkey-io' + if: github.event.pull_request.head.repo.owner.login == 'valkey-io' runs-on: ubuntu-latest environment: AWS_ACTIONS steps: @@ -64,7 +64,7 @@ jobs: publish-binaries: needs: [start-self-hosted-runner, load-platform-matrix] - if: ${{ github.event.pull_request.head.repo.owner.login }} == 'valkey-io' + if: github.event.pull_request.head.repo.owner.login == 'valkey-io' name: Publish packages to NPM runs-on: ${{ matrix.build.RUNNER }} container: