diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml new file mode 100644 index 000000000..86cb9c0a4 --- /dev/null +++ b/.github/workflows/test-docs.yml @@ -0,0 +1,20 @@ +--- +# This workflow sets the test / all status check to success in case it's a docs only PR and test.yml is not triggered +# 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: test # The name must be the same as in test.yml + +on: + pull_request: + paths-ignore: # This expression needs to match the paths ignored on test.yml. + - '**' + - '!**/*.md' + - '!**/*.asciidoc' + +permissions: + contents: read + +jobs: + all: + runs-on: ubuntu-latest + steps: + - run: 'echo "No build required"' diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d1f9a105c..1ccf0e0e0 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,4 @@ -name: test +name: test # The name must be the same as in test-docs.yml on: workflow_call: ~