-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: "Frogbot Scan Pull Request" | ||
on: | ||
push: | ||
workflow_dispatch: | ||
permissions: | ||
pull-requests: write | ||
contents: read | ||
jobs: | ||
scan-pull-request: | ||
runs-on: ubuntu-latest | ||
# A pull request needs to be approved before Frogbot scans it. Any GitHub user who is associated with the | ||
# "frogbot" GitHub environment can approve the pull request to be scanned. | ||
environment: frogbot | ||
steps: | ||
- uses: jfrog/frogbot@v2 | ||
env: | ||
JF_URL: ${{ secrets.JF_URL }} | ||
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | ||
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
JF_PATH_EXCLUSIONS: "*git*;*node_modules*;*target*;*venv*;*test*;*karma*;*dist*;*lib*" | ||
JF_MIN_SEVERITY: "Medium" | ||
JF_ALLOWED_LICENSES: "MIT, Apache-2.0" | ||
# JF_AVOID_EXTRA_MESSAGES: "TRUE" | ||
# JF_PR_COMMENT_TITLE: "" |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
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: | ||
# The repository scanning will be triggered periodically on the following branches. | ||
branch: ["master"] | ||
steps: | ||
- uses: jfrog/frogbot@v2 | ||
env: | ||
JF_URL: ${{ secrets.JF_URL }} | ||
JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }} | ||
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
JF_GIT_BASE_BRANCH: ${{ matrix.branch }} | ||
JF_PATH_EXCLUSIONS: "*git*;*node_modules*;*target*;*venv*;*test*;*karma*;*dist*;*lib*" | ||
JF_MIN_SEVERITY: "Medium" | ||
JF_GIT_EMAIL_AUTHOR: "120067856+pubnub-release-bot@users.noreply.github.com" | ||
JF_ALLOWED_LICENSES: "MIT, Apache-2.0" | ||
# JF_BRANCH_NAME_TEMPLATE: "frogbot-{IMPACTED_PACKAGE}-{BRANCH_NAME_HASH}" | ||
# JF_COMMIT_MESSAGE_TEMPLATE: "Upgrade {IMPACTED_PACKAGE} to {FIX_VERSION}" | ||
# JF_PULL_REQUEST_TITLE_TEMPLATE: "[🐸 Frogbot] Upgrade {IMPACTED_PACKAGE} to {FIX_VERSION}" | ||
# JF_AVOID_EXTRA_MESSAGES: "TRUE" | ||
# JF_PR_COMMENT_TITLE: "" |