Skip to content

Commit

Permalink
Test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelburnham committed Oct 26, 2023
1 parent 7f2b9f6 commit 1c147a9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand All @@ -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')
}

0 comments on commit 1c147a9

Please sign in to comment.