Skip to content

Commit

Permalink
add hold-for-approval in circleci (#1098)
Browse files Browse the repository at this point in the history
Co-authored-by: Jiang, Yu-tao <[email protected]>
  • Loading branch information
yutaoj and JiangYuTao authored Nov 15, 2023
1 parent abbf320 commit 21f370c
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1001,15 +1001,7 @@ workflows:
only: /release/
branches:
ignore: /.*/
# - release-to-github:
# requires:
# - test
# filters:
# tags:
# only: /release/
# branches:
# ignore: /.*/
- publish-to-npm:
- release-to-github:
requires:
# - release-to-github
- test
Expand All @@ -1018,6 +1010,23 @@ workflows:
only: /release/
branches:
ignore: /.*/
- hold-for-approval:
type: approval
requires:
- release-to-github
filters:
tags:
only: /release/
branches:
ignore: /.*/
- publish-to-npm:
requires:
- hold-for-approval
filters:
tags:
only: /release/
branches:
ignore: /.*/
- publish-to-dockerhub-java8-node14:
requires:
- publish-to-npm
Expand Down

0 comments on commit 21f370c

Please sign in to comment.