Frogbot Scan Repository #31
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 Repository" | |
on: | |
workflow_dispatch: | |
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: | |
scan-repository: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
branch: ["main"] | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
uses: actions/setup-node@v3 | |
id: setup-node | |
with: | |
node-version: '18' | |
- | |
uses: jfrog/frogbot@v2 | |
env: | |
JF_CLI_LOG_LEVEL: "DEBUG" | |
JF_URL: ${{ vars.JF_URL }} | |
JF_USER: ${{ secrets.JF_USER }} | |
JF_PASSWORD: ${{ secrets.JF_PASSWORD }} | |
JF_PROJECT: "fg" | |
JF_WATCH: "fredericg-watch" | |
# [Mandatory] | |
# The GitHub token is automatically generated for the job | |
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
# [Mandatory] | |
# The name of the branch on which Frogbot will perform the scan | |
JF_GIT_BASE_BRANCH: ${{ matrix.branch }} |