-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[QT-517] Test required workflow for docs
Signed-off-by: Jaymala Sinha <jaymala@hashicorp.com>
- Loading branch information
Jaymala Sinha
committed
Apr 6, 2023
1 parent
fa5f0e6
commit bb326c2
Showing
2 changed files
with
33 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
name: completed-successfully | ||
|
||
on: | ||
workflow_call: | ||
|
||
jobs: | ||
completed-successfully: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Do not run for docs branches | ||
if: | | ||
!startsWith(github.head_ref, 'docs/') && | ||
!startsWith(github.head_ref, 'backport/docs/') | ||
run: echo "All required build and test workflows have succeeded!" | ||
|
||
if: | | ||
startsWith(github.head_ref, 'docs/') && | ||
startsWith(github.head_ref, 'backport/docs/') | ||
run: echo "Docs workflows succeeded!" |