File tree Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Expand file tree Collapse file tree 1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Auto Chart Bump
2
+
3
+ on :
4
+ workflow_call :
5
+ inputs :
6
+ eventPayload :
7
+ description : " Payload data from upstream repository"
8
+ required : true
9
+ type : string
10
+
11
+ jobs :
12
+ process-event :
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - name : Checkout Code
16
+ uses : actions/checkout@v4
17
+
18
+ - name : Log Event Payload
19
+ run : |
20
+ echo "Raw Payload: ${{ github.event.inputs.payload }}"
21
+ echo "Payload: ${{ fromJson(github.event.inputs.payload) }}"
22
+
23
+ - name : Parse JSON Payload
24
+ id : parse_payload
25
+ run : |
26
+ echo ${{ github.event.inputs.payload }} | jq -r '.package, .branch' | {
27
+ read package
28
+ read branch
29
+ echo "PACKAGE=$package" >> $GITHUB_ENV
30
+ echo "BRANCH=$branch" >> $GITHUB_ENV
31
+ }
32
+
33
+ - name : make chart-bump
34
+ run : |
35
+ echo "make chart-bump package=${{ env.PACKAGE }} branch=${{ env.BRANCH }}"
36
+ make chart-bump package="${{ env.PACKAGE }}" branch="${{ env.BRANCH }}"
You can’t perform that action at this time.
0 commit comments