File tree Expand file tree Collapse file tree 5 files changed +52
-14
lines changed
Expand file tree Collapse file tree 5 files changed +52
-14
lines changed Original file line number Diff line number Diff line change @@ -10,10 +10,18 @@ updates:
1010 groups :
1111 npm :
1212 patterns : ["*"]
13+ commit-message :
14+ prefix : " chore"
15+ prefix-development : " chore"
16+ include : " scope"
1317 - package-ecosystem : " github-actions"
1418 directory : " /"
1519 schedule :
1620 interval : " monthly"
1721 groups :
1822 github-actions :
1923 patterns : ["*"]
24+ commit-message :
25+ prefix : " chore"
26+ prefix-development : " chore"
27+ include : " scope"
Original file line number Diff line number Diff line change 4040 with :
4141 delete-branch : " true"
4242 title : " Update API to ${{ github.event.client_payload.BUFTAG }}"
43+ commit-message : " chore: update api version"
4344 # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
4445 draft : " always-true"
4546 branch : " api-change/${{ github.event.client_payload.BUFTAG }}"
4647 base : " main"
47- token : ${{ secrets.GITHUB_TOKEN }}
48+ token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 1+ ---
2+ name : " Lint"
3+ permissions :
4+ contents : " read"
5+ on :
6+ push :
7+ branches :
8+ - " main"
9+ pull_request :
10+ branches :
11+ - " *"
12+ jobs :
13+ lint :
14+ name : " Lint"
15+ runs-on : " depot-ubuntu-24.04-small"
16+ steps :
17+ - uses : " actions/checkout@v5"
18+ - uses : " bahmutov/npm-install@v1"
19+ with :
20+ useLockFile : false
21+ - name : " Run prettier"
22+ run : " CI=true yarn run prettier src -c"
23+ - name : " Run lint"
24+ run : " CI=true yarn lint"
25+
26+ conventional-commits :
27+ name : " Lint Commit Messages"
28+ runs-on : " depot-ubuntu-24.04-small"
29+ if : " github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'synchronize' || github.event.action == 'reopened' || github.event.action == 'edited')"
30+ steps :
31+ - uses : " actions/checkout@v5"
32+ - uses : " webiny/action-conventional-commits@v1.3.0"
Original file line number Diff line number Diff line change 4040 if : steps.buf-update.outputs.updated == 'true'
4141 with :
4242 delete-branch : " true"
43- title : Update API to ${{ inputs.buftag }}
43+ title : " Update API to ${{ inputs.buftag }}"
44+ commit-message : " chore: update api version"
4445 # https://github.com/peter-evans/create-pull-request/blob/main/docs/concepts-guidelines.md#triggering-further-workflow-runs
4546 draft : " always-true"
46- branch : api-change/${{ inputs.buftag }}
47+ branch : " api-change/${{ inputs.buftag }}"
4748 base : " main"
48- token : ${{ secrets.GITHUB_TOKEN }}
49+ token : " ${{ secrets.GITHUB_TOKEN }}"
Original file line number Diff line number Diff line change 11---
2- name : " Lint and Test"
2+ name : " Test"
33on :
44 push :
55 branches :
2525 - js-dist/package.json
2626 - buf.gen.yaml
2727 test :
28- name : Lint and Test
28+ name : " Test"
2929 runs-on : " depot-ubuntu-24.04-small"
3030 strategy :
3131 matrix :
@@ -34,26 +34,22 @@ jobs:
3434 if : |
3535 needs.paths-filter.outputs.codechange == 'true'
3636 steps :
37- - uses : actions/checkout@v5
37+ - uses : " actions/checkout@v5"
3838 - uses : " authzed/action-spicedb@v1"
3939 with :
4040 version : " latest"
41- - uses : actions/setup-node@v6
41+ - uses : " actions/setup-node@v6"
4242 with :
4343 node-version : ${{ matrix.node-version }}
4444 cache-dependency-path : ./package.json
4545 cache : " yarn"
46- - uses : bahmutov/npm-install@v1
46+ - uses : " bahmutov/npm-install@v1"
4747 with :
4848 useLockFile : false
49- - name : Run lint
50- run : " CI=true yarn lint"
51- - name : Run prettier
52- run : " CI=true yarn run prettier src -c"
5349 - name : Run Yarn tests
5450 run : " CI=true yarn only-run-tests"
5551 build-js-client :
56- name : Build and Test JS client
52+ name : " Build and Test JS client"
5753 runs-on : " depot-ubuntu-24.04-small"
5854 strategy :
5955 matrix :
You can’t perform that action at this time.
0 commit comments