(meta) Update workflows

This commit is contained in:
nopenothinghere 2023-07-29 11:31:19 -04:00
parent f0b66574d9
commit 983bd463c1
Signed by untrusted user who does not match committer: nope
GPG Key ID: 21AB6B6A6CB2C337
3 changed files with 13 additions and 9 deletions

View File

@ -4,7 +4,7 @@
# #
# Source repository: https://github.com/actions/dependency-review-action # Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: 'Dependency Review' name: '🧪 Dependencies'
on: [pull_request] on: [pull_request]
permissions: permissions:
@ -14,7 +14,7 @@ jobs:
dependency-review: dependency-review:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 'Checkout Repository' - name: '📦 Checkout Repository'
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 'Dependency Review' - name: '📦 Dependency Review'
uses: actions/dependency-review-action@v2 uses: actions/dependency-review-action@v2

View File

@ -1,4 +1,4 @@
name: 'Lock Threads' name: '🔒 Lock Threads'
on: on:
schedule: schedule:
@ -16,6 +16,7 @@ jobs:
action: action:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: '🔒 Lock Threads'
- uses: dessant/lock-threads@v4 - uses: dessant/lock-threads@v4
with: with:
github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }} github-token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}

View File

@ -1,4 +1,4 @@
name: release name: '🦠 VirusTotal Scan'
on: on:
pull_request: pull_request:
@ -8,13 +8,16 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: 📦 Checkout - name: '📦 Checkout'
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: 📦 Set up Go - name: '📦 Set up Go'
uses: actions/setup-go@v3 uses: actions/setup-go@v4
with:
go-version: '1.20.6'
- run: go version
- name: 📦 Scan PDF files using VT - name: '🦠 Scan PDF files using VT'
uses: crazy-max/ghaction-virustotal@v3 uses: crazy-max/ghaction-virustotal@v3
with: with:
vt_api_key: ${{ secrets.VT_API_KEY }} vt_api_key: ${{ secrets.VT_API_KEY }}