Skip to content

Commit

Permalink
ci: shallow lock error
Browse files Browse the repository at this point in the history
Signed-off-by: Francesco Canovai <[email protected]>
  • Loading branch information
fcanovai committed Jun 28, 2024
1 parent bc2fa7a commit fcf1b8a
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,12 @@ tasks:
env:
# renovate: datasource=git-refs depName=commitlint lookupName=https://github.com/cloudnative-pg/daggerverse currentValue=main
DAGGER_COMMITLINT_SHA: f09d41cb90701db446048a9f20eb03495e50f727
FROM: 'origin/main'
TO: '{{ printf "origin/%v" .GITHUB_HEAD_REF}}'
cmds:
- dagger -s call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=origin/main" stdout
- git rev-parse ${FROM}
- git rev-parse ${TO}
- dagger --progress=plain call -m github.com/cloudnative-pg/daggerverse/commitlint@${DAGGER_COMMITLINT_SHA} lint --source . --args "--from=${FROM}" --args "--to=${TO}" stdout

uncommitted:
desc: Check for uncommitted changes
Expand All @@ -72,9 +76,9 @@ tasks:

ci:
desc: Run the CI pipeline
deps:
- commitlint
- uncommitted
cmds:
- task: commitlint
- task: uncommitted

clean:
desc: Remove autogenerated artifacts
Expand Down

0 comments on commit fcf1b8a

Please sign in to comment.