Skip to content

Commit de4eb9e

Browse files
committed
Add code checkout for new job. rename previous job
1 parent 3b418d6 commit de4eb9e

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/workflows/check-binaries.yml

+7-6
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ on:
1919
# - cron: "* * * * *"s
2020

2121
jobs:
22-
check-binary:
22+
check-for-vulnerabilities:
2323
runs-on: ubuntu-latest
2424
outputs:
2525
report_contents: ${{ steps.save-output.outputs.report_contents }}
@@ -51,9 +51,10 @@ jobs:
5151
5252
create-issue:
5353
runs-on: ubuntu-latest
54-
needs: check-binary
55-
if: always() && needs.check-binary.outputs.report_contents != ''
54+
needs: check-for-vulnerabilities
55+
if: always() && needs.check-for-vulnerabilities.outputs.report_contents != ''
5656
steps:
57+
- uses: actions/checkout@v4
5758
- name: Build new version and check
5859
id: check-new-version
5960
run: |
@@ -70,7 +71,7 @@ jobs:
7071
echo "fixed=$fixed" >> "$GITHUB_OUTPUT"
7172
echo "Fixed=$fixed"
7273
echo "${{ steps.check-new-version.outputs.latest_version }}"
73-
echo "${{ needs.check-binary-outputs.report_contents }}"
74+
echo "${{ needs.check-for-vulnerabilities.outputs.report_contents }}"
7475
7576
# - name: Create Issue
7677
# id: create-issue
@@ -81,7 +82,7 @@ jobs:
8182
# CVEs found in latest RIE release
8283
# body: |
8384
# ## CVEs found in latest RIE release:
84-
# > **${{ needs.check-binary.outputs.report_contents }}**
85+
# > **${{ needs.check-for-vulnerabilities.outputs.report_contents }}**
8586

86-
# #### Is this fixed by just updating to the latest Go version (${{steps.check-new-version.outputs.latest_version}})?):
87+
# #### Is this fixed by just updating to the latest Go version (${{ steps.check-new-version.outputs.latest_version }})?):
8788
# **${{ steps.check-new-version.outputs.fixed }}**

0 commit comments

Comments
 (0)