diff --git a/.github/workflows/critical-dependencies.yml b/.github/workflows/critical-dependencies.yml index 0405de3..34e3124 100644 --- a/.github/workflows/critical-dependencies.yml +++ b/.github/workflows/critical-dependencies.yml @@ -19,7 +19,7 @@ jobs: steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7 - name: Check Terminal.Gui prereleases and WinGet releases - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | await require('./.github/scripts/critical-dependencies.js')({github, context, core}); diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index dacfa7e..02cc754 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -54,7 +54,7 @@ jobs: echo "version=$version" >> "$GITHUB_OUTPUT" - name: Reject an already published tag - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | try { @@ -293,7 +293,7 @@ jobs: ls -lh artifacts/ - name: Reject any release for this tag, including drafts - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const tag = context.ref.replace('refs/tags/', ''); @@ -344,7 +344,7 @@ jobs: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Publish the complete draft - uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8 + uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 with: script: | const fs = require('fs');