backport of commit 437a7ab9340c9d5e6638570ac37a271e5c1342e5 (#22019)
Co-authored-by: Hamid Ghaf <83242695+hghaf099@users.noreply.github.com>
This commit is contained in:
parent
c7b9ea79ac
commit
94dc0d67e0
|
@ -27,7 +27,9 @@ jobs:
|
|||
# do not run build and test steps for docs changes
|
||||
# Following https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/troubleshooting-required-status-checks#handling-skipped-but-required-checks
|
||||
# we conditionally skip the build and tests for docs(website) changes
|
||||
if: ${{ needs.verify-changes.outputs.is_docs_change == 'false' }}
|
||||
if: |
|
||||
github.event.pull_request.draft == false &&
|
||||
needs.verify-changes.outputs.is_docs_change == 'false'
|
||||
runs-on: ubuntu-latest
|
||||
needs: verify-changes
|
||||
outputs:
|
||||
|
|
|
@ -13,7 +13,6 @@ on:
|
|||
jobs:
|
||||
# verify-doc-ui-changes determines if the changes are only for docs (website) and/or ui
|
||||
verify-doc-ui-changes:
|
||||
if: github.event.pull_request.draft == false
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
is_docs_change: ${{ steps.get-changeddir.outputs.is_docs_change }}
|
||||
|
|
Loading…
Reference in New Issue