Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version updates all around #60

Merged
merged 1 commit into from
Mar 27, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,16 @@ jobs:
language: ["javascript-typescript"]
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
config-file: ./.github/codeql-config.yml

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
test:
name: Test
runs-on: ubuntu-latest
Expand All @@ -36,13 +38,16 @@ jobs:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: "19"
node-version: "20"

- name: Install
run: yarn install --frozen-lockfile

- name: Lint
run: yarn run lint:check
- name: Prettier
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/dependancy-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Dependency Review"
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4
with:
fail-on-severity: "high"
4 changes: 2 additions & 2 deletions .github/workflows/regression-local.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ghas-metrics-report
- name: Test Action
Expand All @@ -23,7 +23,7 @@ jobs:
frequency: "daily"
output-format: "json, pdf, issues"
# - name: upload GHAS metrics report
# uses: actions/upload-artifact@v3
# uses: actions/upload-artifact@v4
# with:
# name: ghas-metrics-report
# path: ghas-metrics-report/dist/report.json
4 changes: 2 additions & 2 deletions .github/workflows/regression.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Git Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ghas-metrics-report
- name: Get Token
Expand All @@ -30,7 +30,7 @@ jobs:
frequency: "daily"
output-format: "json, pdf, issues"
- name: upload GHAS metrics report
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ghas-metrics-report
path: ghas-metrics-report/dist/report.json
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
frequency: "daily"
output-format: "json, pdf, issues, github-output"
- name: Upload GHAS metrics report as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ghas-metrics-report
path: ${{ github.workspace }}/ghas-report.*
Expand All @@ -101,7 +101,7 @@ The action will output:
- The report in PDF format will generate a PDF file.
- THe `issues` output will create Issues for each new open alert in the given `frequency` to the repository.
- Summarized report as an Action run Summary.
- It is also generate the report in the defined `output-format` as an artifact. You can upload these using `actions/upload-artifact@v3` as shown in the example workflow.
- It is also generate the report in the defined `output-format` as an artifact. You can upload these using `actions/upload-artifact@v4` as shown in the example workflow.

![Sample report output](ghas-metrics-report-sample-summary.png)

Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
frequency: "daily"
output-format: "json, pdf, issues, github-output"
- name: Upload GHAS metrics report as artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ghas-metrics-report
path: ${{ github.workspace }}/ghas-report.*
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ outputs:
created-issues-ids:
description: "The IDs of the GitHub Issues created by the action"
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "compass"
Expand Down
Loading
Loading