Skip to content

Commit aee7270

Browse files
committed
feat: allow manual workflow runs and guard unnecessary workflow runs both for CI and pages workflow
1 parent 83c03ab commit aee7270

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,19 @@ name: CI
33
on:
44
push:
55
branches: [main]
6+
paths-ignore:
7+
- 'www/**'
8+
- '.github/workflows/pages.yml'
69
pull_request:
710
branches: [main]
11+
paths-ignore:
12+
- 'www/**'
13+
- '.github/workflows/pages.yml'
14+
workflow_dispatch: ~
15+
16+
concurrency:
17+
group: ci-${{ github.ref }}
18+
cancel-in-progress: true
819

920
env:
1021
CARGO_TERM_COLOR: always

.github/workflows/pages.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches: [main]
66
paths: [www/**]
7+
workflow_dispatch: ~
78

89
permissions:
910
contents: read

0 commit comments

Comments
 (0)