File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 struct_file :
77 description : ' Path to the STRUCT file'
88 type : string
9- required : true
10- default : ' .struct.yaml'
9+ required : false
10+ default : ' file:// .struct.yaml'
1111 output_dir :
1212 description : ' Path to the output directory'
1313 type : string
14- required : true
14+ required : false
1515 default : ' .'
1616 args :
1717 description : ' Additional arguments to pass to STRUCT'
8585 fetch-depth : 1
8686
8787 - name : Run STRUCT
88+ env :
89+ GITHUB_TOKEN : ${{ secrets.token }}
8890 run : |
8991 if [ -d ./custom-structures ]; then
9092
@@ -107,6 +109,12 @@ jobs:
107109 ${{ inputs.output_dir }}
108110 fi
109111
112+ - name : Remove custom-structures before PR generation
113+ run : |
114+ if [ -d ./custom-structures ]; then
115+ rm -rf ./custom-structures
116+ fi
117+
110118 - name : Generate PR with changes
111119 if : github.event_name == 'workflow_dispatch'
112120 uses : peter-evans/create-pull-request@v7
You can’t perform that action at this time.
0 commit comments