Skip to content

Commit e768118

Browse files
committed
replace 3rd party action
1 parent c0d1a14 commit e768118

File tree

2 files changed

+25
-26
lines changed

2 files changed

+25
-26
lines changed

.github/workflows/check-binaries.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@ jobs:
2323
with:
2424
ref: main
2525
- name: Download latest release
26-
uses: robinraju/release-downloader@v1.10
27-
with:
28-
latest: true
29-
fileName: 'aws-lambda-rie*'
30-
out-file-path: "bin"
26+
run: |
27+
mkdir -p bin
28+
gh release download --pattern 'aws-lambda-rie*' --dir bin
29+
env:
30+
GH_TOKEN: ${{ github.token }}
3131
- name: Run check for vulnerabilities
3232
id: check-binaries
3333
run: |
@@ -70,16 +70,15 @@ jobs:
7070
- if: always() && steps.save-output.outputs.report_contents
7171
name: Create GitHub Issue indicating vulnerabilities
7272
id: create-issue
73-
uses: dacbd/create-issue-action@main
74-
with:
75-
token: ${{ github.token }}
76-
title: |
77-
CVEs found in latest RIE release
78-
body: |
79-
### CVEs found in latest RIE release
80-
```
81-
${{ steps.save-output.outputs.report_contents }}
82-
```
83-
84-
#### Are these resolved by building with the latest patch version of Go (${{ steps.check-new-version.outputs.latest_version }})?:
85-
> **${{ steps.save-new-version.outputs.fixed }}**
73+
run: |
74+
gh issue create \
75+
--title "CVEs found in latest RIE release" \
76+
--body "### CVEs found in latest RIE release
77+
\`\`\`
78+
${{ steps.save-output.outputs.report_contents }}
79+
\`\`\`
80+
81+
#### Are these resolved by building with the latest patch version of Go (${{ steps.check-new-version.outputs.latest_version }})?:
82+
> **${{ steps.save-new-version.outputs.fixed }}**"
83+
env:
84+
GH_TOKEN: ${{ github.token }}

.github/workflows/release.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,12 @@ jobs:
3333
make tests-with-docker
3434
make integ-tests
3535
- name: Release
36-
uses: softprops/action-gh-release@v2
37-
with:
38-
name: Release ${{ github.event.inputs.releaseVersion }}
39-
tag_name: v${{ github.event.inputs.releaseVersion }}
40-
body: ${{ github.event.inputs.releaseBody }}
41-
files: |
42-
bin/aws-lambda-rie
43-
bin/aws-lambda-rie-arm64
36+
run: |
37+
gh release create "v${{ github.event.inputs.releaseVersion }}" \
38+
--title "Release ${{ github.event.inputs.releaseVersion }}" \
39+
--notes "${{ github.event.inputs.releaseBody }}" \
40+
bin/aws-lambda-rie \
41+
bin/aws-lambda-rie-arm64 \
4442
bin/aws-lambda-rie-x86_64
43+
env:
44+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)