From a6adbc32747eab78dd1567c098e2d47a88ab1c74 Mon Sep 17 00:00:00 2001 From: Christian Oliff Date: Mon, 23 Mar 2026 15:53:33 +0900 Subject: [PATCH] Update ESLint workflow permissions and remove schedule Removed scheduled cron job and added permissions for security events. --- .github/workflows/eslint.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/eslint.yml b/.github/workflows/eslint.yml index 9bdf7be..eca8e0b 100644 --- a/.github/workflows/eslint.yml +++ b/.github/workflows/eslint.yml @@ -5,13 +5,16 @@ on: branches: ["main"] pull_request: branches: ["main"] - schedule: - - cron: "0 0 1 * *" + +permissions: + contents: read jobs: eslint: name: Run eslint scanning runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' && !startsWith(github.head_ref || github.ref_name, 'dependabot/') }} + permissions: contents: read security-events: write