Skip to content

Commit 1945797

Browse files
fix: remove workflow_run trigger and adjust release job dependencies
1 parent 444b7c8 commit 1945797

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ on:
1818
- '*.gitattributes'
1919
- '*.gitmodules'
2020
workflow_dispatch:
21-
workflow_run:
22-
workflows: ["Documentation", "pages-build-deployment"]
23-
types: [completed]
2421

2522
permissions:
2623
contents: write
@@ -234,8 +231,7 @@ jobs:
234231
release:
235232
name: Release
236233
runs-on: ubuntu-latest
237-
needs: [build, test]
238-
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
234+
needs: [build, examples]
239235

240236
steps:
241237
- name: 📥 Checkout code

0 commit comments

Comments
 (0)