We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 505d8f5 commit 6f805c3Copy full SHA for 6f805c3
1 file changed
.github/workflows/build.yml
@@ -1,15 +1,23 @@
1
name: Build
2
3
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
6
push:
7
branches: [main]
- tags: ["v*"]
8
+ tags: ["[0-9]+.[0-9]+.[0-9]+*"]
9
pull_request:
10
+ branches: [ main ]
11
+ types: [ opened, synchronize, reopened ]
12
13
jobs:
14
build:
15
runs-on: ubuntu-latest
16
17
+ if: |
18
+ github.event_name != 'pull_request' ||
19
+ github.event.pull_request.head.repo.full_name == github.repository
20
+
21
steps:
22
- uses: actions/checkout@v4
23
with:
0 commit comments