Skip to content

Commit c824ea9

Browse files
committed
chore(ci): close staging repository even when extensive tests are skipped
1 parent ec7ec00 commit c824ea9

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,10 @@ jobs:
111111
- test-extensively
112112
- build
113113
runs-on: ubuntu-22.04
114-
if: needs.check-secrets.outputs.run-with-secrets == 'true'
114+
if: |
115+
always() &&
116+
needs.check-secrets.outputs.run-with-secrets == 'true' &&
117+
(needs.test-extensively.result == 'success' || needs.test-extensively.result == 'skipped')
115118
steps:
116119
- name: Checkout the repo
117120
uses: actions/checkout@v3.5.3

0 commit comments

Comments
 (0)