Skip to content

Commit

Permalink
Update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
hugoalh committed Nov 12, 2024
1 parent ea22a81 commit 7ef92a1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 20 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/invoke-codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
with:
fetch-depth: "0"
- name: "Initialize CodeQL"
uses: "github/codeql-action/init@v3.27.0"
uses: "github/codeql-action/init@v3"
with:
queries: "+security-and-quality"
# Automatically build attempts to build any compiled languages.
- name: "Build Repository"
uses: "github/codeql-action/autobuild@v3.27.0"
uses: "github/codeql-action/autobuild@v3"
continue-on-error: true
- name: "Analyze Repository"
uses: "github/codeql-action/analyze@v3.27.0"
uses: "github/codeql-action/analyze@v3"
6 changes: 3 additions & 3 deletions .github/workflows/invoke-devskim-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
with:
fetch-depth: "0"
- name: "Analyze Repository"
uses: "microsoft/DevSkim-Action@v1.0.14"
uses: "microsoft/DevSkim-Action@v1"
with:
should-scan-archives: "true"
ignore-globs: "**/.git/**"
- name: "Upload Analysis Result"
uses: "github/codeql-action/upload-sarif@v3.27.0"
uses: "github/codeql-action/upload-sarif@v3"
with:
sarif_file: "devskim-results.sarif"
12 changes: 6 additions & 6 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,20 +27,20 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
- name: "Setup Docker QEMU"
uses: "docker/setup-qemu-action@v3.2.0"
uses: "docker/setup-qemu-action@v3"
- name: "Setup Docker Buildx"
uses: "docker/setup-buildx-action@v3.7.1"
uses: "docker/setup-buildx-action@v3"
- name: "Sign In To GitHub Packages"
uses: "docker/login-action@v3.3.0"
uses: "docker/login-action@v3"
with:
registry: "ghcr.io"
username: "${{github.actor}}"
password: "${{secrets.GITHUB_TOKEN}}"
- name: "Resolve Metadata"
id: "metadata"
uses: "docker/metadata-action@v5.5.1"
uses: "docker/metadata-action@v5"
with:
images: |-
name=ghcr.io/${{github.repository}}
Expand All @@ -57,7 +57,7 @@ jobs:
org.opencontainers.image.title=Send Discord Webhook (GitHub Action) Image
org.opencontainers.image.description=A Docker image for Send Discord Webhook (GitHub Action) to send Discord webhook.
- name: "Build & Publish Docker Image"
uses: "docker/build-push-action@v6.9.0"
uses: "docker/build-push-action@v6"
with:
context: "./"
file: "Dockerfile"
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/review-deno-code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ jobs:
CDV_RUN_LITE: "${{matrix.runon != 'ubuntu-latest'}}"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
- name: "Setup Deno"
uses: "denoland/setup-deno@v2.0.1"
uses: "denoland/setup-deno@v2"
with:
deno-version: "^2.0.0"
- name: "Get Deno Cache Path"
Expand All @@ -44,7 +44,7 @@ jobs:
Add-Content -LiteralPath $Env:GITHUB_OUTPUT -Value "value=$($DenoInfo.denoDir)" -Confirm:$False -Encoding 'UTF8NoBOM'
- name: "Restore Deno Cache"
id: "deno-cache-restore"
uses: "actions/cache/restore@v4.1.2"
uses: "actions/cache/restore@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
restore-keys: |-
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
npm publish --dry-run
- name: "Save Deno Cache"
if: "${{!cancelled() && steps.deno-cache-restore.outcome == 'success'}}"
uses: "actions/cache/save@v4.1.2"
uses: "actions/cache/save@v4"
with:
key: "Deno/${{runner.os}}-${{github.run_id}}-${{github.run_attempt}}-${{github.job}}"
path: "${{steps.deno-cache-path.outputs.value}}"
2 changes: 1 addition & 1 deletion .github/workflows/scan-virus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
with:
fetch-depth: "0"
- name: "Scan Repository"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
runs-on: "ubuntu-latest"
steps:
- name: "Checkout Repository"
uses: "actions/checkout@v4.2.2"
uses: "actions/checkout@v4"
- name: "Sync Labels"
uses: "EndBug/label-sync@v2.3.3"
uses: "EndBug/label-sync@v2"
with:
config-file: ".github/labels.yml"
delete-other-labels: "true"

0 comments on commit 7ef92a1

Please sign in to comment.