File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 3838 with :
3939 fetch-depth : 0
4040
41- - name : Detect changes
41+ - name : Detect changes related to current PR
4242 uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
4343 id : changes
4444 with :
5757 - 'framework/**/*.go'
5858 # later add tools here or make this filter dynamic (if possible)
5959
60- - name : Find all go modules
60+ - name : Find all go modules in the repository and filter the ones that changed
6161 shell : bash
6262 id : go-modules
6363 env :
@@ -100,11 +100,15 @@ jobs:
100100 done
101101 rm filtered_folders.json
102102
103- - name : Save costs
103+ - name : Upload costs as artifact
104104 uses : actions/upload-artifact@b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882 # v4.4.3
105105 with :
106106 name : generation-costs
107- path : ./costs
107+ path : ./costs
108+
109+ - name : Remove costs before committing
110+ shell : bash
111+ run : rm -rf costs
108112
109113 - name : Setup GitHub Token for creating a new PR
110114 id : setup-github-token-write
You can’t perform that action at this time.
0 commit comments