We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a5e72c commit ad1624eCopy full SHA for ad1624e
.github/workflows/build.yml
@@ -1,16 +1,12 @@
1
name: Build and test
2
3
concurrency:
4
- group: w64devkit-${{ github.ref }}
5
- cancel-in-progress: true
+ group: w64devkit-${{ github.event.pull_request.head.sha || github.sha }}
6
7
on:
8
- pull_request: {}
9
push:
10
- branches:
11
- - '*'
12
- tags:
13
+ pull_request:
+ branches: [ "master" ]
14
15
# Must set Settings -> Actions -> General -> Workflow permissions to
16
# "Read and write permissions"
@@ -20,6 +16,7 @@ permissions:
20
jobs:
21
17
build:
22
18
runs-on: ubuntu-latest
19
+ if: github.event_name == 'push' || github.event.pull_request.head.repo.full_name != github.repository
23
24
strategy:
25
fail-fast: false
0 commit comments