mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-05-02 02:23:56 +00:00
Only run CI on push to master, use pull_request for branches
Avoids duplicate CI runs when a branch has an open PR.
This commit is contained in:
parent
7e53901825
commit
5a60c07fbf
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -1,9 +1,12 @@
|
||||
name: CI
|
||||
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
pull_request:
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.run_id }}
|
||||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
||||
cancel-in-progress: true
|
||||
|
||||
jobs:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user