Skip to content

Commit 15d57c6

Browse files
committed
Flip guard checks
1 parent 224e062 commit 15d57c6

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/upload-dev-build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
5252
- name: Get required metadata (PR number, commit SHA, workflow run ID containing artifacts)
5353
id: get-metadata
54-
if: steps.fork-check.outputs.is_fork != 'true'
54+
if: steps.fork-check.outputs.is_fork == 'false'
5555
env:
5656
GH_TOKEN: ${{ github.token }}
5757
GH_EVENT_NAME: ${{ github.event_name }}
@@ -108,7 +108,7 @@ jobs:
108108
109109
- name: Download build artifact
110110
id: download-artifact
111-
if: steps.fork-check.outputs.is_fork != 'true'
111+
if: steps.fork-check.outputs.is_fork == 'false'
112112
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
113113
with:
114114
name: dist # uploaded by publish-dist.yml > publish-dist
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: Prepare folders
120120
id: setup-metadata
121-
if: steps.fork-check.outputs.is_fork != 'true'
121+
if: steps.fork-check.outputs.is_fork == 'false'
122122
env:
123123
GH_TOKEN: ${{ github.token }}
124124
PR_NUM: ${{ steps.get-metadata.outputs.PR_NUM }}
@@ -143,7 +143,7 @@ jobs:
143143
144144
- name: Generate GitHub App token
145145
id: generate-token
146-
if: steps.fork-check.outputs.is_fork != 'true'
146+
if: steps.fork-check.outputs.is_fork == 'false'
147147
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 #v3.1.1
148148
with:
149149
client-id: ${{ vars.DEV_DEPLOY_APP_ID }}
@@ -152,7 +152,7 @@ jobs:
152152
repositories: plotly.js-dev-builds
153153

154154
- name: Check out plotly.js-dev-builds repo
155-
if: steps.fork-check.outputs.is_fork != 'true'
155+
if: steps.fork-check.outputs.is_fork == 'false'
156156
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
157157
with:
158158
repository: plotly/plotly.js-dev-builds
@@ -161,7 +161,7 @@ jobs:
161161

162162
- name: Commit and push files
163163
id: commit-and-push
164-
if: steps.fork-check.outputs.is_fork != 'true'
164+
if: steps.fork-check.outputs.is_fork == 'false'
165165
env:
166166
PR_NUM: ${{ steps.get-metadata.outputs.PR_NUM }}
167167
SHORT_SHA: ${{ steps.get-metadata.outputs.SHORT_SHA }}
@@ -194,7 +194,7 @@ jobs:
194194
fi
195195
196196
- name: Generate summary
197-
if: steps.fork-check.outputs.is_fork != 'true'
197+
if: steps.fork-check.outputs.is_fork == 'false'
198198
env:
199199
PR_NUM: ${{ steps.get-metadata.outputs.PR_NUM }}
200200
SHORT_SHA: ${{ steps.get-metadata.outputs.SHORT_SHA }}

0 commit comments

Comments
 (0)