SNOW-1638551 Start Open Telemetry Span before Process Actions #315
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: snyk-pr | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
whitesource: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request.user.login == 'sfc-gh-snyk-sca-sa' }} | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
fetch-depth: 0 | |
- name: checkout action | |
uses: actions/checkout@v3 | |
with: | |
repository: snowflakedb/whitesource-actions | |
token: ${{ secrets.WHITESOURCE_ACTION_TOKEN }} | |
path: whitesource-actions | |
- name: PR | |
uses: ./whitesource-actions/snyk-pr | |
env: | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
with: | |
jira_token: ${{ secrets.JIRA_TOKEN }} | |
gh_token: ${{ secrets.GITHUB_TOKEN }} | |
amend: false # true if you want the commit to be amended with the JIRA number | |