Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions .github/workflows/check-binaries.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@ jobs:
with:
ref: main
- name: Download latest release
uses: robinraju/release-downloader@v1.10
with:
latest: true
fileName: 'aws-lambda-rie*'
out-file-path: "bin"
run: |
mkdir -p bin
gh release download --pattern 'aws-lambda-rie*' --dir bin
env:
GH_TOKEN: ${{ github.token }}
- name: Run check for vulnerabilities
id: check-binaries
run: |
Expand Down Expand Up @@ -70,16 +70,15 @@ jobs:
- if: always() && steps.save-output.outputs.report_contents
name: Create GitHub Issue indicating vulnerabilities
id: create-issue
uses: dacbd/create-issue-action@main
with:
token: ${{ github.token }}
title: |
CVEs found in latest RIE release
body: |
### CVEs found in latest RIE release
```
${{ steps.save-output.outputs.report_contents }}
```

#### Are these resolved by building with the latest patch version of Go (${{ steps.check-new-version.outputs.latest_version }})?:
> **${{ steps.save-new-version.outputs.fixed }}**
run: |
gh issue create \
--title "CVEs found in latest RIE release" \
--body "### CVEs found in latest RIE release
\`\`\`
${{ steps.save-output.outputs.report_contents }}
\`\`\`

#### Are these resolved by building with the latest patch version of Go (${{ steps.check-new-version.outputs.latest_version }})?:
> **${{ steps.save-new-version.outputs.fixed }}**"
env:
GH_TOKEN: ${{ github.token }}
8 changes: 0 additions & 8 deletions .github/workflows/integ-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,12 @@ permissions:
jobs:
go-tests:
runs-on: ubuntu-latest
environment:
name: integ-tests
steps:
- uses: actions/checkout@v4
- name: run go tests
run: make tests-with-docker
integ-tests-x86:
runs-on: ubuntu-latest
environment:
name: integ-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -31,8 +27,6 @@ jobs:
run: make integ-tests-with-docker-x86-64
integ-tests-arm64:
runs-on: ubuntu-latest
environment:
name: integ-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand All @@ -42,8 +36,6 @@ jobs:
run: make integ-tests-with-docker-arm64
integ-tests-old:
runs-on: ubuntu-latest
environment:
name: integ-tests
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ jobs:
make tests-with-docker
make integ-tests
- name: Release
uses: softprops/action-gh-release@v2
with:
name: Release ${{ github.event.inputs.releaseVersion }}
tag_name: v${{ github.event.inputs.releaseVersion }}
body: ${{ github.event.inputs.releaseBody }}
files: |
bin/aws-lambda-rie
bin/aws-lambda-rie-arm64
run: |
gh release create "v${{ github.event.inputs.releaseVersion }}" \
--title "Release ${{ github.event.inputs.releaseVersion }}" \
--notes "${{ github.event.inputs.releaseBody }}" \
Comment thread
roger-zhangg marked this conversation as resolved.
Outdated
bin/aws-lambda-rie \
bin/aws-lambda-rie-arm64 \
bin/aws-lambda-rie-x86_64
env:
GH_TOKEN: ${{ github.token }}
Loading