Skip to content

Commit 17f61d2

Browse files
authored
Merge pull request rails#196 from rails/flavorjones-better-pipeline-config
ci: better pipeline config
2 parents 831d929 + d9e67fd commit 17f61d2

File tree

2 files changed

+30
-2
lines changed

2 files changed

+30
-2
lines changed

.github/workflows/ci.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
name: CI
2-
on: [push, pull_request]
2+
concurrency:
3+
group: "${{github.workflow}}-${{github.ref}}"
4+
cancel-in-progress: true
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
tags:
11+
- v*.*.*
12+
pull_request:
13+
types: [opened, synchronize]
14+
branches:
15+
- '*'
16+
317
jobs:
418
tests:
519
runs-on: ubuntu-latest

.github/workflows/gem-install.yml

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
name: Native Gems
2-
on: [push, pull_request]
2+
concurrency:
3+
group: "${{github.workflow}}-${{github.ref}}"
4+
cancel-in-progress: true
5+
on:
6+
workflow_dispatch:
7+
push:
8+
branches:
9+
- main
10+
tags:
11+
- v*.*.*
12+
pull_request:
13+
types: [opened, synchronize]
14+
branches:
15+
- '*'
16+
317
jobs:
418
package:
519
strategy:

0 commit comments

Comments
 (0)