Skip to content

Commit d634b78

Browse files
authored
ci: Prevent unnecessary workflow trigger (#1095)
1 parent a96d3a5 commit d634b78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release-automated.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
package: ${{ startsWith(github.ref_name, 'dart-') && 'dart' || startsWith(github.ref_name, 'flutter-') && 'flutter' || '' }}
1515
jobs:
1616
release:
17-
if: github.event_name == 'push' && github.ref_type == 'branch'
17+
if: github.event_name == 'push' && github.ref_type == 'branch' && !startsWith(github.event.head_commit.message, 'chore(release)')
1818
runs-on: ubuntu-latest
1919
timeout-minutes: 10
2020
permissions:

0 commit comments

Comments
 (0)