From 1c147a9d021d627bd98d7ef01e1607ffa5d58617 Mon Sep 17 00:00:00 2001 From: Samuel Burnham <45365069+samuelburnham@users.noreply.github.com> Date: Thu, 26 Oct 2023 10:10:46 -0400 Subject: [PATCH] Test workflow --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9daaa9a0..bd69c4c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,10 +2,10 @@ name: Test access to secrets on: workflow_dispatch: - merge_group: pull_request_target: types: [opened, synchronize, reopened, ready_for_review] branches: [dev] + merge_group: env: PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }} @@ -15,9 +15,9 @@ jobs: name: Check private key exists runs-on: ubuntu-latest steps: - - uses: actions/github-script@v6 - with: - script: | - if ("$PRIVATE_KEY" = "") { - core.setFailed('Failed to access PRIVATE_KEY secret') - } + - uses: actions/github-script@v6 + with: + script: | + if ("$PRIVATE_KEY" == "") { + core.setFailed('Failed to access PRIVATE_KEY secret') + }