Skip to content

Commit

Permalink
ci: re-lint only when push to master
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Fouquet authored and Paul Fouquet committed Sep 28, 2023
1 parent d2d9094 commit 7cc8c30
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ jobs:
kubectl apply -f config/*.yml --namespace argo
# Re-lint the workflows after deployment because their dependencies is test with deployement.
- name: Re-Lint workflows
if: github.ref == 'refs/heads/master'
run: |
./argo-linux-amd64 lint templates/ -n argo
./argo-linux-amd64 lint workflows/ -n argo

0 comments on commit 7cc8c30

Please sign in to comment.