Skip to content

Commit

Permalink
Merge branch 'master' into lsembera/snyk-e2e-snappy-java
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-lsembera authored Oct 19, 2023
2 parents ee3742d + c690d56 commit 4e7051d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/snyk-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ on:
schedule:
- cron: '* */12 * * *'

permissions:
contents: read
issues: write
pull-requests: write

concurrency: snyk-issue

jobs:
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/snyk-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ on:
pull_request:
branches:
- master

permissions:
contents: read
issues: write
pull-requests: write

jobs:
snyk:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions format.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@ if ! command -v java > /dev/null; then
fi
echo "Running Google Java Format"
find ./src -type f -name "*.java" -print0 | xargs -0 java -jar "${JAR_FILE}" --replace --set-exit-if-changed && echo "OK"

echo "Sorting pom.xml"
mvn com.github.ekryd.sortpom:sortpom-maven-plugin:sort

0 comments on commit 4e7051d

Please sign in to comment.