V1 #129
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" | |
on: | |
# After a pull request opened, Frogbot automatically creates the "🐸 frogbot scan" label if needed. | |
# After "🐸 frogbot scan" label was added to a pull request, Frogbot scans the pull request. | |
pull_request_target: | |
types: [labeled, opened] | |
jobs: | |
scan-pull-request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.17.x | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- uses: jfrog/frogbot@dev | |
env: | |
# [Mandatory] JFrog platform URL | |
JF_URL: ${{ secrets.FROGBOT_URL }} | |
# [Mandatory if JF_USER and JF_PASSWORD are not provided] | |
JF_ACCESS_TOKEN: ${{ secrets.FROGBOT_ACCESS_TOKEN }} | |
# [Manadatory] The GitHub token automatically generated for the job | |
JF_GIT_TOKEN: ${{ secrets.GITHUB_TOKEN }} |