Skip to content

Commit 5204fbe

Browse files
authored
Enable repository_dispatch for version tagging
Added repository_dispatch event to trigger workflow on new version tags.
1 parent d21b4a0 commit 5204fbe

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/matrix_g2main-test.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,15 @@ permissions:
88

99
on:
1010
workflow_dispatch: # nice for debugging
11-
11+
repository_dispatch:
12+
types: [new-version-tag] # Launch when a new version is created
1213
push:
1314
branches: [ "main" ]
1415
paths: # want this to run only when files relevant to
1516
# package build change
1617
- install/gitstrap.py
1718
- install/GSAS2main/*
1819
- .github/workflows/*g2main-test.yml
19-
20-
#repository_dispatch: # TODO: launch from GSASII repo via Web API
2120

2221
jobs:
2322
version-matrix:

0 commit comments

Comments
 (0)