Skip to content

Commit

Permalink
fix(.github): switch changes to only run on schedule
Browse files Browse the repository at this point in the history
  • Loading branch information
MSevey committed Sep 30, 2022
1 parent 6535e9d commit d12f15c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,13 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/yamllint

# Check if there were any changes since the last tag if this is not a push
# event
# Check if there were any changes since the last tag if this is a scheduled event
changes:
needs: [yamllint]
runs-on: ubuntu-latest
outputs:
updates: ${{steps.changes.outputs.any == 'true'}}
if: ${{ github.event_name != 'push' }}
if: ${{ github.event_name == 'schedule' }}
steps:
- uses: actions/checkout@v3
with:
Expand Down

0 comments on commit d12f15c

Please sign in to comment.