Skip to content

Frogbot Scan Repository #191

Frogbot Scan Repository

Frogbot Scan Repository #191

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'
- name: Setup pnpm
uses: pnpm/[email protected]
-
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 }}