Skip to content

Commit

Permalink
[core] Ignore unrelated folders from github actions (#35028)
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Nov 9, 2022
1 parent 0d290f8 commit 5ce57e9
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .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"'
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Expand Up @@ -7,6 +7,9 @@ on:
# We don't need to run CI twice (push+pull_request)
- 'renovate/**'
pull_request:
paths-ignore:
- 'docs/**'
- 'examples/**'

permissions: {}

Expand Down

0 comments on commit 5ce57e9

Please sign in to comment.