Change trigger from dev branch to version tags

This commit is contained in:
7w1 authored and GitHub committed 2026-03-04 22:01:59 -06:00
1 parent aa9f64fee7
commit 0f86f8e9c0
1 file changed
+3 -3
+3 -3
View File
@@ -8,8 +8,8 @@ on:
- '.github/actions/prepare-tofu/**'
- '.github/actions/setup/**'
push:
branches:
- dev
tags:
- 'v*'
workflow_dispatch:
env:
@@ -57,7 +57,7 @@ jobs:
label: production
apply:
if: (github.event_name == 'push' && github.ref_name == 'dev') || github.event_name == 'workflow_dispatch'
if: (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')) || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
contents: read