Skip to content

Commit

Permalink
Update advisories.yml to use distinct commit messages
Browse files Browse the repository at this point in the history
  • Loading branch information
timtebeek authored Oct 16, 2024
1 parent bd3cb55 commit 480663d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/advisories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,12 @@ jobs:
run: |
./gradlew parseGithubAdvisoryDatabase --args="./advisory-database Maven src/main/resources/advisories-maven.csv"
sort --output=src/main/resources/advisories-maven.csv src/main/resources/advisories-maven.csv
git diff-index --quiet HEAD src/main/resources/advisories-maven.csv || (git commit --message "${{ env.MSG }}" src/main/resources/advisories-maven.csv && git push origin main)
git diff-index --quiet HEAD src/main/resources/advisories-maven.csv || (git commit --message "${{ env.MSG }} for Maven" src/main/resources/advisories-maven.csv && git push origin main)
- name: Commit and push Nuget dependency vulnerabilities to rewrite-java-dependencies
run: |
./gradlew parseGithubAdvisoryDatabase --args="./advisory-database Nuget src/main/resources/advisories-nuget.csv"
sort --output=src/main/resources/advisories-nuget.csv src/main/resources/advisories-nuget.csv
git diff-index --quiet HEAD src/main/resources/advisories-nuget.csv || (git commit --message "${{ env.MSG }}" src/main/resources/advisories-nuget.csv && git push origin main)
git diff-index --quiet HEAD src/main/resources/advisories-nuget.csv || (git commit --message "${{ env.MSG }} for NuGet" src/main/resources/advisories-nuget.csv && git push origin main)
# Load SSH deploy-key
- uses: webfactory/[email protected]
Expand All @@ -60,5 +60,5 @@ jobs:
./gradlew parseGithubAdvisoryDatabase --args="./advisory-database NPM rewrite-nodejs/src/main/resources/advisories-npm.csv"
cd rewrite-nodejs/
sort --output=src/main/resources/advisories-npm.csv src/main/resources/advisories-npm.csv
git diff-index --quiet HEAD src/main/resources/advisories-npm.csv || (git commit --message "${{ env.MSG }}" src/main/resources/advisories-npm.csv && git push origin main)
git diff-index --quiet HEAD src/main/resources/advisories-npm.csv || (git commit --message "${{ env.MSG }} for NPM" src/main/resources/advisories-npm.csv && git push origin main)

0 comments on commit 480663d

Please sign in to comment.