Skip to content

Commit

Permalink
ci: run commit lint only on builds against master
Browse files Browse the repository at this point in the history
Does not work on stable branches which don't have a common base with master.
  • Loading branch information
romangg committed Jun 19, 2024
1 parent bf595e6 commit 2a7b61c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/change.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@ jobs:
run: echo "result=${{ env.result }}" >> $GITHUB_OUTPUT

message-lint:
if: endsWith(needs.get.outputs.image, '-master')
uses: ./.github/workflows/commit-lint.yml
needs: get
with:
upstream-repo: https://github.com/winft/wrapland.git

Expand Down

0 comments on commit 2a7b61c

Please sign in to comment.