Skip to content

Commit

Permalink
fix: env pinner trigger (#1429)
Browse files Browse the repository at this point in the history
  • Loading branch information
lkstrp authored Nov 19, 2024
1 parent dfcbd1d commit c9266a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-pinned-env.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Update pinned envs

on:
push:
branches:
- master
paths:
- envs/environment.yaml
# Run every Sunday at 5:00 UTC
schedule:
- cron: "0 5 * * 0"
Expand All @@ -14,7 +14,7 @@ env:

jobs:
update-pinned-environment:
if: github.event_name == 'schedule' || contains(github.event.head_commit.modified, 'envs/environment.yaml')
if: ${{ github.ref == 'refs/heads/master' }}
name: Update pinned envs
runs-on: ${{ matrix.os }}-latest
strategy:
Expand Down

0 comments on commit c9266a7

Please sign in to comment.