diff --git a/.github/workflows/check-commits.yaml b/.github/workflows/check-commits.yaml index 39ccc3c..35249ef 100644 --- a/.github/workflows/check-commits.yaml +++ b/.github/workflows/check-commits.yaml @@ -1,13 +1,14 @@ on: { pull_request } jobs: - check: + check_history: runs-on: ubuntu-latest + container: { image: "quay.io/keith_maxwell/lumosql-build:fedora" } name: Check commits steps: - uses: actions/checkout@v2 - name: Fetch all history so that later commands succeed - run: git fetch --prune --unshallow + run: git fetch --prune --unshallow || true - name: Fail if any commits have a subject line starting fixup! run: "! git log --pretty=format:%s%n origin/master..HEAD | grep -q ^fixup!" diff --git a/.github/workflows/semi-linear.yaml b/.github/workflows/semi-linear.yaml index 8b60f75..d13accb 100644 --- a/.github/workflows/semi-linear.yaml +++ b/.github/workflows/semi-linear.yaml @@ -1,13 +1,14 @@ on: { push: { branches: [staging, trying] } } jobs: - check: + check_rebase: runs-on: ubuntu-latest + container: { image: "quay.io/keith_maxwell/lumosql-build:fedora" } name: Semi linear steps: - uses: actions/checkout@v2 - name: Fetch all history so that later commands succeed - run: git fetch --prune --unshallow + run: git fetch --prune --unshallow || true - name: Fail if the branch requires a rebase run: test "$(git rev-parse origin/master)" = "$(git merge-base