Skip to content

Commit f60bbe0

Browse files
committed
Enable crs workflow
1 parent 676d808 commit f60bbe0

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

.github/crs-config.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://github.com/mbarbin/crs/releases/download/0.0.20251014/crs-config.schema.json",
3+
"default_repo_owner": "mbarbin",
4+
"user_mentions_allowlist": [
5+
"mbarbin"
6+
],
7+
"invalid_crs_annotation_severity": "Error",
8+
"crs_due_now_annotation_severity": "Info"
9+
}

.github/workflows/crs.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
name: CRs Workflows
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- "**" # This will match pull requests targeting any branch
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
jobs:
13+
crs-workflows:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
18+
19+
- name: Install crs
20+
uses: mbarbin/crs-actions/setup-crs@061f8bc6ac432c1ebc575489f0ea1bc499be0e78 # v1.0.0-alpha.10
21+
with:
22+
crs-version: 0.0.20251014
23+
crs-digest: sha256:82ac2264a2b6bd6e3dc47b1ff273eebc2682efe3ad255b14eab9b001b9c1eee6
24+
25+
- name: Install reviewdog
26+
uses: reviewdog/action-setup@d8edfce3dd5e1ec6978745e801f9c50b5ef80252 # v1.4.0
27+
with:
28+
reviewdog_version: v0.20.3
29+
30+
- name: Comment on CRs in PR
31+
uses: mbarbin/crs-actions/comment-crs-in-pr@061f8bc6ac432c1ebc575489f0ea1bc499be0e78 # v1.0.0-alpha.10
32+
with:
33+
crs-config: .github/crs-config.json
34+
35+
- name: Summarize CRs in PR
36+
uses: mbarbin/crs-actions/summarize-crs-in-pr@061f8bc6ac432c1ebc575489f0ea1bc499be0e78 # v1.0.0-alpha.10
37+
with:
38+
crs-config: .github/crs-config.json

0 commit comments

Comments
 (0)