diff --git a/.github/workflows/ci-check.yml b/.github/workflows/ci-check.yml new file mode 100644 index 00000000000000..3c1224143e0764 --- /dev/null +++ b/.github/workflows/ci-check.yml @@ -0,0 +1,22 @@ +# This workflow is a workaround to make the github check "Successful" +# for the ci.yml, otherwise the changes in `docs/**` or `examples/**` won't be considered completed for github checks. +# +# Ref: 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: CI + +on: + push: + branches-ignore: + - 'renovate/**' + pull_request: + paths: + - 'docs/**' + - 'examples/**' + +permissions: {} + +jobs: + build: + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2265cd92db4f65..b8ea6674c3b562 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,9 @@ on: # We don't need to run CI twice (push+pull_request) - 'renovate/**' pull_request: + paths-ignore: + - 'docs/**' + - 'examples/**' permissions: {}