Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions .github/workflows/frogbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Frogbot Security Scan"

on:
# Triggers for every commit pushed to any branch
push:
# Triggers for all Pull Request activity (opened, updated, reopened)
pull_request_target:
types: [opened, synchronize, reopened]
# Allows manual triggers from the Actions tab test
workflow_dispatch:
# Scheduled daily scan
schedule:
- cron: "0 0 * * *"

permissions:
pull-requests: write
contents: write
security-events: write
actions: read

jobs:
frogbot-scan:
runs-on: ubuntu-latest
environment: frogbot
steps:
- uses: jfrog/frogbot@v2
env:
# Connection Details
JF_URL: ${{ secrets.JF_URL }}
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Project Specifics
JF_WORKING_DIR: "npm-example"
JF_INSTALL_DEPS_CMD: "npm install"

# Dynamic Branch Context
# This tells Frogbot which branch is the "base" for the current run
JF_GIT_BASE_BRANCH: ${{ github.event.pull_request.base.ref || github.ref_name }}
Loading