Frogbot Scan and Fix #482
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
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 }} |