Skip to content

Commit ccfa736

Browse files
committed
ci: update concurrency/"on" to match some best practices
1 parent d92bb65 commit ccfa736

1 file changed

Lines changed: 15 additions & 2 deletions

File tree

.github/workflows/sqlite3-ruby.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
name: CI
2-
3-
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+
- v*.*.x
11+
tags:
12+
- v*.*.*
13+
pull_request:
14+
types: [opened, synchronize]
15+
branches:
16+
- '*'
417

518
jobs:
619
CI:

0 commit comments

Comments
 (0)