File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change 1+ # This workflow sets the 'test' status check to success in case it's a docs only PR and e2e.yml is not triggered
2+ # 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
3+ name : test # The name must be the same as in test.yml
4+
5+ on :
6+ pull_request :
7+ paths-ignore : # This expression needs to match the paths ignored on e2e.yml.
8+ - ' **'
9+ - ' !*.md'
10+ - ' !*.asciidoc'
11+ - ' !docs/**'
12+
13+ permissions :
14+ contents : read
15+
16+ # # Concurrency only allowed in the main branch.
17+ # # So old builds running for old commits within the same Pull Request are cancelled
18+ concurrency :
19+ group : ${{ github.workflow }}-${{ github.ref }}
20+ cancel-in-progress : ${{ github.ref != 'refs/heads/main' }}
21+
22+ jobs :
23+
24+ test-windows :
25+ runs-on : windows-latest
26+
27+ steps :
28+ - run : ' echo "Not required for docs"'
29+
30+ test-linux :
31+ runs-on : ubuntu-latest
32+
33+ steps :
34+ - run : ' echo "Not required for docs"'
You can’t perform that action at this time.
0 commit comments