Skip to content

Commit 27b1e07

Browse files
Added frogbot-scan-pull-request.yml on jfrog-github-app/add-frogbot-configurations
1 parent b892025 commit 27b1e07

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
2+
jobs:
3+
scan-pull-request:
4+
runs-on: ubuntu-latest
5+
# A pull request needs to be approved before Frogbot scans it. Any GitHub user who is associated with the
6+
# "frogbot" GitHub environment can approve the pull request to be scanned.
7+
environment: frogbot
8+
steps:
9+
- uses: jfrog/frogbot@v2
10+
env:
11+
# [Mandatory]
12+
# JFrog platform URL
13+
JF_URL: ${{ secrets.JF_URL }}
14+
15+
# [Mandatory if JF_USER and JF_PASSWORD are not provided]
16+
# JFrog access token with 'read' permissions on Xray service
17+
JF_ACCESS_TOKEN: ${{ secrets.JF_TOKEN }}
18+
19+
# [Mandatory]
20+
# The GitHub token is automatically generated for the job
21+
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)