Skip to content

Commit

Permalink
refactor: don't run pre-commit during nightly rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
j0rd1smit committed Jun 6, 2024
1 parent aa47193 commit 58d9aa6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,14 @@ on:

jobs:
pre_commit:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: github.event_name != 'schedule'
steps:
- uses: actions/checkout@v2
- uses: pre-commit/[email protected]

build-deploy:
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
needs: pre_commit
steps:
- name: Checkout Repo
Expand Down

0 comments on commit 58d9aa6

Please sign in to comment.