Skip to content

Commit ab32af9

Browse files
authored
Update blank.yml
1 parent 8c322b8 commit ab32af9

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

.github/workflows/blank.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,15 @@ on:
44
push:
55
branches:
66
- main # Runs build on push to main
7-
pull_request:
8-
# Trigger release only on tag push
9-
push:
107
tags:
11-
- 'v*.*.*' # Example: v1.0.0, v2.1.3, etc.
8+
- 'v*.*.*' # Runs release on tag push (e.g., v1.0.0)
9+
pull_request:
1210

1311
jobs:
1412
build:
1513
runs-on: ubuntu-latest
1614
# Run this job on push to main or pull requests
17-
if: github.event_name == 'push' && github.ref == 'refs/heads/main' || github.event_name == 'pull_request'
15+
if: (github.event_name == 'push' && github.ref == 'refs/heads/main') || github.event_name == 'pull_request'
1816

1917
steps:
2018
- name: Checkout repository

0 commit comments

Comments
 (0)