From 0ba9edc28047d62e8a65f67933ff23b6549f9fb8 Mon Sep 17 00:00:00 2001 From: Henrik Widlund <4659350+henrikwidlund@users.noreply.github.com> Date: Thu, 23 Jul 2026 18:37:05 +0200 Subject: [PATCH 1/2] Add dependabot support --- .github/dependabot.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..ab774f3 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,15 @@ +version: 2 +updates: + - package-ecosystem: npm + directory: "/" + schedule: + interval: "daily" + cooldown: + default-days: 14 + + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + cooldown: + default-days: 14 From 35c099a6733c3f00c57b7a4806571149b171c9de Mon Sep 17 00:00:00 2001 From: Henrik Widlund <4659350+henrikwidlund@users.noreply.github.com> Date: Thu, 23 Jul 2026 19:49:15 +0200 Subject: [PATCH 2/2] Pin actions --- .github/workflows/code-format.yml | 8 +++++--- .github/workflows/unit-tests.yml | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/code-format.yml b/.github/workflows/code-format.yml index c0c2fcc..1c850c0 100644 --- a/.github/workflows/code-format.yml +++ b/.github/workflows/code-format.yml @@ -26,16 +26,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 #v6.1.0 + with: + persist-credentials: false - name: Setup node - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 #v6.5.0 with: node-version-file: ".nvmrc" - name: Cache NPM dependencies id: npm-cache - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 #v5.1.0 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }} diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 24e33a8..431005b 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -20,16 +20,18 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v6 + uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 #v6.1.0 + with: + persist-credentials: false - name: Setup node - uses: actions/setup-node@v6 + uses: actions/setup-node@249970729cb0ef3589644e2896645e5dc5ba9c38 #v6.5.0 with: node-version-file: ".nvmrc" - name: Cache NPM dependencies id: npm-cache - uses: actions/cache@v5 + uses: actions/cache@caa296126883cff596d87d8935842f9db880ef25 #v5.1.0 with: path: node_modules key: ${{ runner.os }}-npm-${{ hashFiles('package-lock.json') }}