Fix typo when using an API key as access token #665
Workflow file for this run
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
name: "Frogbot Scan PR" | |
on: | |
pull_request_target: | |
types: [ opened, synchronize ] | |
jobs: | |
frogbot: | |
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: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
# Install prerequisites | |
- name: Setup Go | |
uses: actions/setup-go@v3 | |
with: | |
go-version: 1.20.x | |
- uses: jfrog/frogbot@v2 | |
env: | |
# [Mandatory] | |
# JFrog platform URL | |
JF_URL: ${{ secrets.FROGBOT_URL }} | |
# [Mandatory if JF_USER and JF_PASSWORD are not provided] | |
# JFrog access token with 'read' permissions on Xray service | |
JF_ACCESS_TOKEN: ${{ secrets.FROGBOT_ACCESS_TOKEN }} | |
# [Mandatory] | |
# The GitHub token automatically generated for the job | |
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} |