Skip to content

Commit a30b4c3

Browse files
authored
Merge pull request #120 from google/lsc-1771431861.8381045
Refactor Github Action per b/485167538
2 parents c5996e0 + 62f47c7 commit a30b4c3

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

.github/workflows/osv-scanner-reusable.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,9 @@ jobs:
112112
if: "${{ !cancelled() && inputs.upload-sarif == true }}"
113113
run: |
114114
echo "View the OSV-Scanner results in the 'Security' tab, using the following link:"
115-
echo "${{ github.server_url }}/${{ github.repository }}/security/code-scanning?query=is%3Aopen+branch%3A${{ github.ref_name }}+tool%3Aosv-scanner"
115+
echo "${{ github.server_url }}/${{ github.repository }}/security/code-scanning?query=is%3Aopen+branch%3A${GITHUB_REF_NAME}+tool%3Aosv-scanner"
116+
env:
117+
GITHUB_REF_NAME: ${{ github.ref_name }}
116118
- name: "Error troubleshooter"
117119
if: ${{ always() && steps.upload_artifact.outcome == 'failure' }}
118120
run: |

0 commit comments

Comments
 (0)