From 0b37a3c2084c5765345b1096e54668729a91c004 Mon Sep 17 00:00:00 2001 From: Ashish Date: Wed, 18 Sep 2024 00:10:41 +0530 Subject: [PATCH 1/2] fix permissions of action --- .github/workflows/types.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/types.yml b/.github/workflows/types.yml index e02bf07..361f679 100644 --- a/.github/workflows/types.yml +++ b/.github/workflows/types.yml @@ -12,6 +12,9 @@ jobs: lint-and-format: runs-on: ubuntu-latest + permissions: + contents: write + steps: - name: Checkout code uses: actions/checkout@v3 From eb80eaa5619b44530a6a871897852c6230c6b757 Mon Sep 17 00:00:00 2001 From: Ashish Date: Wed, 18 Sep 2024 00:12:11 +0530 Subject: [PATCH 2/2] fix node version accidentally typed 21 instead of 20 --- .github/workflows/types.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/types.yml b/.github/workflows/types.yml index 361f679..c55f9e9 100644 --- a/.github/workflows/types.yml +++ b/.github/workflows/types.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '21' + node-version: '20' - name: Install dependencies run: npm install