File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 description : ' Organization name'
1212 required : true
1313 default : ' dearmory'
14+ debug :
15+ description : ' Enable debug output (true/false)'
16+ required : false
17+ default : ' false'
1418 level :
15- description : ' Level'
19+ description : ' Level (repository_only, organization_only, organization_and_repository) '
1620 required : true
17- default : ' repository'
21+ type : choice
22+ options :
23+ - repository_only
24+ - organization_only
25+ - organization_and_repository
26+ default : ' repository_only'
1827
1928jobs :
2029 run-gitarmor :
4049 repo : ${{ github.event.inputs.repo }}
4150 org : ${{ github.event.inputs.org }}
4251 token : ${{ steps.app-token.outputs.token }}
43- level : ${{ github.event.inputs.level }}
52+ level : ${{ github.event.inputs.level }}
53+ debug : ${{ github.event.inputs.debug }}
4454 policy-dir : ' ./policies'
4555
4656 - name : Print report to Job summary
Original file line number Diff line number Diff line change 2828 repo : ${{ github.repository }}
2929 org : ${{ github.repository_owner }}
3030 token : ${{ steps.app-token.outputs.token }}
31- level : ' organization'
31+ level : ' organization_only'
32+ debug : ' false'
3233 policy-dir : ' ./policies'
3334
34- - name : Get the output
35- run : echo "Check results - ${{ steps.gitarmor.outputs.check-results }}"
35+ - name : Print report to Job summary
36+ run : |
37+ cat output-report.md >> $GITHUB_STEP_SUMMARY
38+
39+ - name : Upload the reports as Actions artifact
40+ uses : actions/upload-artifact@v4
41+ with :
42+ name : gitarmor-evaluation-report
43+ path : output-report.*
You can’t perform that action at this time.
0 commit comments