From 7d5bdcc5f5c5d4a1423cfdc30f02803a7f5bad9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sat, 29 May 2021 16:45:06 +0700 Subject: [PATCH] CI: move lint-commits up in action list * CI will stop whenever a step is failing. * We always want to enforce commit message lint * `xlint` is reporting some false positive for license with " WITH " Let's move the lint-commits step up. --- .github/workflows/build.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 5ca5de2244d4..80d3220177c9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -18,12 +18,12 @@ jobs: with: fetch-depth: 200 - run: common/travis/fetch_upstream.sh + # GitHub Action create a merge commit, ignore it + - run: common/scripts/lint-commits FETCH_HEAD HEAD^2 - run: common/travis/changed_templates.sh - run: common/travis/fetch-xbps.sh - run: common/travis/fetch-xtools.sh - run: common/travis/xlint.sh - # GitHub Action create a merge commit, ignore it - - run: common/scripts/lint-commits FETCH_HEAD HEAD^2 # Build changed packages. build: