Skip to content

Commit 6f805c3

Browse files
committed
wip
1 parent 505d8f5 commit 6f805c3

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,23 @@
11
name: Build
22

33
on:
4+
# Trigger the workflow on pushes to main and on version tags in the format X.Y.Z.*
5+
# and on pull requests to main
46
push:
57
branches: [main]
6-
tags: ["v*"]
8+
tags: ["[0-9]+.[0-9]+.[0-9]+*"]
79
pull_request:
10+
branches: [ main ]
11+
types: [ opened, synchronize, reopened ]
812

913
jobs:
1014
build:
1115
runs-on: ubuntu-latest
1216

17+
if: |
18+
github.event_name != 'pull_request' ||
19+
github.event.pull_request.head.repo.full_name == github.repository
20+
1321
steps:
1422
- uses: actions/checkout@v4
1523
with:

0 commit comments

Comments
 (0)