-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
1 changed file
with
13 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -152,11 +152,12 @@ jobs: | |
- | ||
name: Access cloned repository content | ||
run: | | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.workspace }}/${{ env.OUTPUT_NAME }}.csv" | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }} | ||
git config --global user.email ${{ secrets.GH_EMAIL }} | ||
git config --global user.name ${{ secrets.GH_NAME }} | ||
git add "${{ github.workspace }}/${{ env.OUTPUT_NAME }}.csv" | ||
git commit -m "Update ${{ env.TOOL }} results" | ||
git add "${{ env.OUTPUT_NAME }}.csv" | ||
git commit -m "Update ${{ env.TOOL }} results in ${{ github.event.repository.name }}" | ||
- | ||
name: Push to Reporting Repo | ||
run: | | ||
|
@@ -242,12 +243,12 @@ jobs: | |
- | ||
name: Access cloned repository content | ||
run: | | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }} | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }} | ||
git config --global user.email ${{ secrets.GH_EMAIL }} | ||
git config --global user.name ${{ secrets.GH_NAME }} | ||
git add "${{ env.OUTPUT_NAME }}.csv" | ||
git commit -m "Update ${{ env.TOOL }} results" | ||
git commit -m "Update ${{ env.TOOL }} results in ${{ github.event.repository.name }}" | ||
- | ||
name: Push to Reporting Repo | ||
run: | | ||
|
@@ -314,10 +315,6 @@ jobs: | |
${{ env.OUTPUT_NAME }}.json | ||
${{ env.OUTPUT_NAME }}.hdf.json | ||
${{ env.OUTPUT_NAME }}.csv | ||
#- | ||
# name: Upload to S3 | ||
# run: | | ||
# aws s3 cp ./grype-results.csv s3://grafana-flow-testing/ | ||
- | ||
name: Clone Reporting Repo | ||
uses: GuillaumeFalourd/[email protected] | ||
|
@@ -330,7 +327,6 @@ jobs: | |
- | ||
name: Access cloned repository content | ||
run: | | ||
ls -latr ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/ | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }} | ||
git config --global user.email ${{ secrets.GH_EMAIL }} | ||
|
@@ -527,13 +523,12 @@ jobs: | |
- | ||
name: Access cloned repository content | ||
run: | | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }} | ||
ls -latr | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }} | ||
git config --global user.email ${{ secrets.GH_EMAIL }} | ||
git config --global user.name ${{ secrets.GH_NAME }} | ||
git add "${{ env.OUTPUT_NAME }}.csv" | ||
git commit -m "Update ${{ env.TOOL }} results" | ||
git commit -m "Update ${{ env.TOOL }} results in ${{ github.event.repository.name }}" | ||
- | ||
name: Push to Reporting Repo | ||
run: | | ||
|
@@ -615,13 +610,12 @@ jobs: | |
- | ||
name: Access cloned repository content | ||
run: | | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }} | ||
ls -latr | ||
cp "./${{ env.OUTPUT_NAME }}.csv" "./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }}/${{ env.OUTPUT_NAME }}.csv" | ||
cd ./${{ env.REPORTING_REPO }}/${{ github.event.repository.name }} | ||
git config --global user.email ${{ secrets.GH_EMAIL }} | ||
git config --global user.name ${{ secrets.GH_NAME }} | ||
git add "${{ env.OUTPUT_NAME }}.csv" | ||
git commit -m "Update ${{ env.TOOL }} results" | ||
git commit -m "Update ${{ env.TOOL }} results in ${{ github.event.repository.name }}" | ||
- | ||
name: Push to Reporting Repo | ||
run: | | ||
|