Skip to content

Commit e672ef3

Browse files
authored
Run preview action only in the main repository
1 parent 30a317f commit e672ef3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/preview.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
on: [status]
22
jobs:
33
circleci_artifacts_redirector_job:
4+
if: ${{ github.repository_owner == 'data-apis' }}
45
runs-on: ubuntu-latest
56
name: Run CircleCI artifacts redirector
67
steps:
@@ -14,4 +15,4 @@ jobs:
1415
job-title: Check the rendered docs here!
1516
- name: Array API preview
1617
run: |
17-
curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA
18+
curl --fail ${{ steps.step1.outputs.url }} | grep $GITHUB_SHA

0 commit comments

Comments
 (0)