1+ name : " Frogbot Scan Pull Request"
2+ on :
3+ pull_request_target :
4+ types : [opened, synchronize]
5+ permissions :
6+ pull-requests : write
7+ contents : read
8+ # [Mandatory If using OIDC authentication protocol instead of JF_ACCESS_TOKEN]
9+ id-token : write
10+ jobs :
11+ scan-pull-request :
12+ runs-on : ubuntu-latest-4-cores
13+ # container:
14+ # # Official .NET SDK image with python3-virtualenv package installed. One-time manual creation.
15+ # image: azuekubeacr03.azurecr.io/dotnet/sdk-python3-virtualenv:9.0.201-noble-amd64
16+ # A pull request needs to be approved before Frogbot scans it. Any GitHub user who is associated with the
17+ # "frogbot" GitHub environment can approve the pull request to be scanned.
18+ # environment: frogbot
19+ steps :
20+ - uses : jfrog/frogbot@v2
21+ env :
22+ # [Mandatory]
23+ # JFrog platform URL
24+ # Temporary JFrog SaaS instance, hosted by JFrog for new feature evaluation.
25+ # Accessible from GitHub-hosted runners.
26+ JF_URL : https://ansyscpp.jfrog.io/
27+
28+ # [Mandatory if JF_USER and JF_PASSWORD are not provided]
29+ # JFrog access token with 'read' permissions on Xray service
30+ # JF_ACCESS_TOKEN: ${{ secrets.JF_ACCESS_TOKEN }}
31+
32+ # [Mandatory if JF_ACCESS_TOKEN is not provided]
33+ # JFrog username with 'read' permissions for Xray. Must be provided with JF_PASSWORD
34+ # JF_USER: ${{ secrets.JF_USER }}
35+
36+ # [Mandatory if JF_ACCESS_TOKEN is not provided]
37+ # JFrog password. Must be provided with JF_USER
38+ # JF_PASSWORD: ${{ secrets.JF_PASSWORD }}
39+
40+ # [Mandatory]
41+ # The GitHub token is automatically generated for the job
42+ JF_GIT_TOKEN : ${{ secrets.GITHUB_TOKEN }}
43+
44+ # [Mandatory if using OIDC authentication protocol instead of JF_ACCESS_TOKEN]
45+ # Insert to oidc-provider-name the 'Provider Name' defined in the OIDC integration configured in the JPD
46+ # OIDC identiy mappings are defined in JFrog Platform administration -> General Management -> Manage Integrations
47+ with :
48+ oidc-provider-name : " github-actions-oidc"
49+ oidc-audience : GitHub ansys-internal CI/CD Pipelines
0 commit comments