Skip to content

Commit 6a5dbb3

Browse files
authored
ci: modify workflow to exclude forks (#1409)
1 parent 12e7471 commit 6a5dbb3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/nightly_lock.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ env:
99

1010
jobs:
1111
pixi_lock:
12+
if: ${{ !github.event.repository.fork }}
1213
name: Pixi lock
1314
runs-on: ubuntu-latest
1415
timeout-minutes: 5
1516
steps:
1617
- uses: holoviz-dev/holoviz_tasks/pixi_lock@v0
1718
- name: Upload lock-file to S3
18-
if: "!github.event.pull_request.head.repo.fork"
1919
env:
2020
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
2121
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}

0 commit comments

Comments
 (0)