Skip to content

Frogbot Scan and Fix #454

Frogbot Scan and Fix

Frogbot Scan and Fix #454

name: "Frogbot Scan and Fix"
on:
schedule:
# The repository will be scanned once a day at 00:00 GMT.
- cron: "0 0 * * *"
permissions:
contents: write
pull-requests: write
security-events: write
jobs:
create-fix-pull-requests:
runs-on: ubuntu-latest
strategy:
matrix:
# The repository scanning will be triggered periodically on the following branches.
branch: [ "main" ]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}
# Install prerequisites
- name: Set up Java
uses: actions/setup-java@v4
with:
java-version: "8"
distribution: "zulu"
- uses: jfrog/frogbot@v2
env:
JF_URL: ${{ secrets.FROGBOT_URL }}
JF_ACCESS_TOKEN: ${{ secrets.FROGBOT_ACCESS_TOKEN }}
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}