Skip to content

Commit 5980258

Browse files
committed
release if pass test
1 parent 1adb820 commit 5980258

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
name: "Release dev container features & Generate Documentation"
22
on:
33
workflow_dispatch:
4-
workflow_call:
4+
repository_dispatch:
5+
types: [trigger-release]
56

67
jobs:
78
deploy:

.github/workflows/test.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,10 @@ jobs:
5959
- name: "Testing global scenarios"
6060
run: devcontainer features test --global-scenarios-only .
6161

62-
call-release-workflow:
62+
trigger-release:
63+
runs-on: ubuntu-latest
6364
needs: [test-autogenerated, test-global]
6465
if: success() && github.event_name != 'pull_request'
6566
uses: ./.github/workflows/release.yaml
67+
with:
68+
event-type: trigger-release

0 commit comments

Comments
 (0)