diff --git a/.github/workflows/backend-skipped-checks.yml b/.github/workflows/backend-skipped-checks.yml new file mode 100644 index 0000000000000000000000000000000000000000..83f1fc1648dc76acd51419afbe111c820851cfcb --- /dev/null +++ b/.github/workflows/backend-skipped-checks.yml @@ -0,0 +1,48 @@ +# Required checks with path filtering rules will block pull requests from merging if they change only the excluded files. +# This is a workaround to allow the PR to be merged. +# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks +name: Backend + +on: + pull_request: + paths: + - "docs/**" + - "**.md" + - "frontend/test/**" + - "enterprise/frontend/test/**" + +jobs: + + be-linter-clj-kondo: + runs-on: ubuntu-20.04 + timeout-minutes: 10 + steps: + - run: | + echo "Didn't run due to conditional filtering" + + be-linter-eastwood: + runs-on: ubuntu-20.04 + timeout-minutes: 20 + steps: + - run: | + echo "Didn't run due to conditional filtering" + + be-linter-namespace-decls: + runs-on: ubuntu-20.04 + timeout-minutes: 10 + steps: + - run: | + echo "Didn't run due to conditional filtering" + + be-tests: + runs-on: ubuntu-20.04 + name: be-tests-java-${{ matrix.java-version }}-${{ matrix.edition }} + timeout-minutes: 20 + strategy: + fail-fast: false + matrix: + edition: [oss, ee] + java-version: [11, 17] + steps: + - run: | + echo "Didn't run due to conditional filtering" diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index fe97bf10d02f037c736e6288e56e7df9e71d6e40..f64dfa951b0aa28e9d38c5eac8969cf33a0046ca 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -6,6 +6,11 @@ on: - 'master' - 'release-**' pull_request: + paths-ignore: + - "docs/**" + - "**.md" + - "frontend/test/**" + - "enterprise/frontend/test/**" jobs: