Skip to content

Commit

Permalink
Skip test-docs job when PR contains release-notes label
Browse files Browse the repository at this point in the history
The label is used only for release notes that don't
require tests. Another docs-checks job to verify
"trino-docs" module would still run.
  • Loading branch information
ebyhr committed Mar 4, 2022
1 parent a58bb8e commit d1ff515
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
test-docs:
needs: path-filters
if: ${{ needs.path-filters.outputs.docs == 'true' && needs.path-filters.outputs.other == 'false' }}
if: ${{ needs.path-filters.outputs.docs == 'true' && needs.path-filters.outputs.other == 'false' && !contains(github.event.pull_request.labels.*.name, 'release-notes') }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
Expand Down

0 comments on commit d1ff515

Please sign in to comment.