From a63b0a1c78b922dee013d580a189b2bc51ea8156 Mon Sep 17 00:00:00 2001 From: Kent Gruber Date: Mon, 23 Mar 2026 13:29:23 -0400 Subject: [PATCH] Fix workflow syntax warning and update checkout to Node.js 24 Wrap the entire `if` condition in ${{ }} to fix the literal text warning, and update actions/checkout from v4 to v6 to resolve Node.js 20 deprecation. --- .github/workflows/require-codeowners.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/require-codeowners.yml b/.github/workflows/require-codeowners.yml index 2d44b5e..ecb40c6 100644 --- a/.github/workflows/require-codeowners.yml +++ b/.github/workflows/require-codeowners.yml @@ -32,11 +32,11 @@ jobs: check: name: Check for CODEOWNERS runs-on: ubuntu-latest - if: github.event.pull_request.draft == false && ${{ !endsWith(github.actor, '[bot]') }} + if: ${{ github.event.pull_request.draft == false && !endsWith(github.actor, '[bot]') }} steps: - name: Checkout branch - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ github.event.pull_request.head.sha }}