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 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') }}