Skip to content

Commit 182c2f4

Browse files
authored
Merge pull request #113 from authzed/dependabot/github_actions/github-actions-fa13e6a0e1
Bump peter-evans/create-pull-request from 6.0.2 to 6.0.5 in the github-actions group
2 parents 4a7480e + a3c2fc7 commit 182c2f4

3 files changed

Lines changed: 29 additions & 14 deletions

File tree

.github/workflows/authzed-node.yaml

Lines changed: 27 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,41 @@
11
name: authzed-node-ci
22
on:
3+
push:
4+
branches:
5+
- "main"
36
pull_request:
47
branches:
58
- "*"
6-
paths:
7-
- src/**
8-
- package.json
9-
- .github/workflows/authzed-node.yaml
10-
push:
11-
branches:
12-
- main
13-
paths:
14-
- src/**
15-
- .github/workflows/authzed-node.yaml
16-
- package.json
17-
- js-dist/package.json
9+
merge_group:
10+
types:
11+
- "checks_requested"
1812
release:
1913
types: [published]
2014
jobs:
15+
paths-filter:
16+
runs-on: "buildjet-2vcpu-ubuntu-2204"
17+
outputs:
18+
codechange: "${{ steps.code-filter.outputs.codechange }}"
19+
steps:
20+
- uses: "actions/checkout@v4"
21+
- uses: "dorny/paths-filter@v3"
22+
id: "code-filter"
23+
with:
24+
filters: |
25+
codechange:
26+
- src/**
27+
- .github/workflows/authzed-node.yaml
28+
- package.json
29+
- js-dist/package.json
2130
test:
2231
name: Lint
2332
runs-on: "buildjet-2vcpu-ubuntu-2204"
2433
strategy:
2534
matrix:
2635
node-version: [18, 20, 21]
36+
needs: "paths-filter"
37+
if: |
38+
needs.paths-filter.outputs.codechange == 'true'
2739
steps:
2840
- uses: actions/checkout@v4
2941
- uses: "authzed/action-spicedb@v1"
@@ -63,6 +75,9 @@ jobs:
6375
strategy:
6476
matrix:
6577
node-version: [18, 20, 21]
78+
needs: "paths-filter"
79+
if: |
80+
needs.paths-filter.outputs.codechange == 'true'
6681
steps:
6782
- uses: actions/checkout@v4
6883
- uses: "authzed/action-spicedb@v1"

.github/workflows/automatic-api-update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
run: |
5252
./buf.gen.yaml
5353
- name: Create Pull Request
54-
uses: peter-evans/create-pull-request@v6.0.2
54+
uses: peter-evans/create-pull-request@v6.0.5
5555
if: steps.buf-update.outputs.updated == 'true'
5656
with:
5757
delete-branch: "true"

.github/workflows/manual-api-update.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ jobs:
5555
run: |
5656
./buf.gen.yaml
5757
- name: Create Pull Request
58-
uses: peter-evans/create-pull-request@v6.0.2
58+
uses: peter-evans/create-pull-request@v6.0.5
5959
if: steps.buf-update.outputs.updated == 'true'
6060
with:
6161
delete-branch: "true"

0 commit comments

Comments
 (0)