Skip to content

Commit 512f536

Browse files
committed
feat: changed-modules-go
1 parent c623e68 commit 512f536

File tree

14 files changed

+33998
-54
lines changed

14 files changed

+33998
-54
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# changed-modules-go
2+
3+
> gets the go modules changed for a github event
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: changed-modules-go
2+
description: "gets the go modules changed for a github event"
3+
4+
inputs:
5+
sub-directory:
6+
description:
7+
"The sub-directory to search for go.mod files. Defaults to './'"
8+
required: false
9+
default: "./"
10+
11+
# ref inputs
12+
base-ref:
13+
description: "Base branch or commit to compare against"
14+
required: false
15+
default: "${{ github.event.pull_request.base.ref }}"
16+
head-ref:
17+
description: "Head branch or commit to compare against"
18+
required: false
19+
default: "${{ github.event.pull_request.head.ref }}"
20+
21+
outputs:
22+
modified-modules:
23+
description: |
24+
The paths to the go modules, relative to the CWD, separated by commas
25+
26+
runs:
27+
using: "node20"
28+
main: "dist/index.js"

0 commit comments

Comments
 (0)