File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515# - name: Run Dfetch SARIF Check
1616# uses: dfetch-org/dfetch/.github/actions/dfetch-action@main
1717# with:
18- # dfetch-install: '.'
1918# working-directory: '.' # optional, defaults to project root
2019# ```
2120#
2221# ## Inputs
23- # - `dfetch-install`: pip install argument for dfetch (default: . for local)
2422# - `working-directory`: Directory to run dfetch in (default: project root)
2523#
2624# ## Outputs
@@ -36,10 +34,6 @@ branding:
3634 color : ' blue'
3735
3836inputs :
39- dfetch-install :
40- description : ' pip install argument for dfetch (default: . for local)'
41- required : false
42- default : ' .'
4337 working-directory :
4438 description : ' Directory to run dfetch in (default: project root)'
4539 required : false
5852 with :
5953 python-version : ' 3.13'
6054 - name : Install dfetch
61- run : pip install ${{ inputs.dfetch-install }}
55+ run : pip install .
6256 shell : bash
6357 - name : Run dfetch check (SARIF)
6458 run : dfetch check --sarif sarif.json
Original file line number Diff line number Diff line change @@ -30,11 +30,10 @@ jobs:
3030 - run : dfetch check
3131 - run : dfetch update
3232 - run : dfetch update
33- - run : dfetch check --sarif sarif.json
34- - name : Upload SARIF file
35- uses : github/codeql-action/upload-sarif@v3
33+ - name : Dfetch SARIF Check
34+ uses : ./github/actions/dfetch-action
3635 with :
37- sarif_file : sarif.json
36+ working-directory : ' . '
3837
3938 - name : Run example
4039 working-directory : ./example
You can’t perform that action at this time.
0 commit comments