diff --git a/.github/workflows/lock-closed-issues.yml b/.github/workflows/lock-closed-issues.yml index 6498e0c..7e05606 100644 --- a/.github/workflows/lock-closed-issues.yml +++ b/.github/workflows/lock-closed-issues.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Lock closed issues after 7 days of inactivity - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | const sevenDaysAgo = new Date(); diff --git a/.github/workflows/remove-autoclose-label.yml b/.github/workflows/remove-autoclose-label.yml index 9d9d906..143cfb7 100644 --- a/.github/workflows/remove-autoclose-label.yml +++ b/.github/workflows/remove-autoclose-label.yml @@ -17,7 +17,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Remove autoclose label - uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7 + uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0 with: script: | console.log(`Removing autoclose label from issue #${context.issue.number} due to new comment from ${context.payload.comment.user.login}`);