File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1414 - name : Checkout code
1515 uses : actions/checkout@v3
1616
17- - name : Run action
17+ - name : Push to APICURON
1818 uses : ./
1919 with :
20- github_token : ${{ secrets.GITHUB_TOKEN }}
21- sourceRep : ${{ github.repository }}
22- event : ' ${{ toJSON(github.event)}} '
20+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
21+ API_ENDPOINT : ' https://www.example.com/api/reports '
22+ API_TOKEN : ${{ secrets.API_TOKEN }}
Original file line number Diff line number Diff line change @@ -72,8 +72,9 @@ export async function run(): Promise<void> {
7272 core . info ( 'No commits to process' )
7373 return
7474 }
75-
76- await sendToApi ( reports , apiConfig )
75+ console . log ( JSON . stringify ( reports ) )
76+ console . log ( apiConfig )
77+ // await sendToApi(reports, apiConfig)
7778 core . setOutput ( 'reports' , JSON . stringify ( reports ) )
7879 } catch ( error ) {
7980 if ( error instanceof Error ) core . setFailed ( error . message )
You can’t perform that action at this time.
0 commit comments