From 2538869c2707a4053dc1d66630f1cbbb806d2450 Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 00:47:37 +0330 Subject: [PATCH 1/7] Update codecov.yml --- .github/workflows/codecov.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 02d6f8e..5326998 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -14,6 +14,9 @@ jobs: node-version: [20.x, 21.x, 22.x] steps: + - name: Wait for secrets + uses: step-security/wait-for-secrets@v1.2.0 + - name: Checkout repository uses: actions/checkout@v4 with: From f6babbc565a8a8f564cfd998798b177ace89e2f5 Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 00:51:34 +0330 Subject: [PATCH 2/7] Update codecov.yml --- .github/workflows/codecov.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 5326998..794073e 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,6 +16,10 @@ jobs: steps: - name: Wait for secrets uses: step-security/wait-for-secrets@v1.2.0 + with: + # Fine-grained PAT with contents:write and workflows:write + # scopes + token: ${{ secrets.GITHUB_TOKEN }} - name: Checkout repository uses: actions/checkout@v4 From e578cae215e48032b349d965def91280d03f8eb6 Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 00:56:48 +0330 Subject: [PATCH 3/7] Update codecov.yml --- .github/workflows/codecov.yml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 794073e..5aaab3a 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -16,10 +16,14 @@ jobs: steps: - name: Wait for secrets uses: step-security/wait-for-secrets@v1.2.0 + id: get-otp with: - # Fine-grained PAT with contents:write and workflows:write - # scopes - token: ${{ secrets.GITHUB_TOKEN }} + secrets: | + DUMMY_SECRET: + name: 'Dummy secret' + description: 'Dummy secret to demo wait-for-secrets' + - run: | + echo ${{ steps.get-otp.outputs.DUMMY_SECRET }} - name: Checkout repository uses: actions/checkout@v4 From 956796c53eff4de599ca4d80b1a66e1feae06999 Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 01:03:22 +0330 Subject: [PATCH 4/7] Update codecov.yml --- .github/workflows/codecov.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 5aaab3a..c427792 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -14,17 +14,6 @@ jobs: node-version: [20.x, 21.x, 22.x] steps: - - name: Wait for secrets - uses: step-security/wait-for-secrets@v1.2.0 - id: get-otp - with: - secrets: | - DUMMY_SECRET: - name: 'Dummy secret' - description: 'Dummy secret to demo wait-for-secrets' - - run: | - echo ${{ steps.get-otp.outputs.DUMMY_SECRET }} - - name: Checkout repository uses: actions/checkout@v4 with: @@ -40,6 +29,17 @@ jobs: - name: Install dependencies run: npm install + - name: Wait for secrets + uses: step-security/wait-for-secrets@v1.2.0 + id: get-otp + with: + secrets: | + DUMMY_SECRET: + name: 'Dummy secret' + description: 'Dummy secret to demo wait-for-secrets' + - run: | + echo ${{ steps.get-otp.outputs.DUMMY_SECRET }} + - name: Run tests run: npm run test From edfce0325d266cc458b4a592de5d2b5d3dfae55b Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 01:11:54 +0330 Subject: [PATCH 5/7] Update codecov.yml --- .github/workflows/codecov.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index c427792..753f953 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -8,6 +8,8 @@ jobs: permissions: contents: write pull-requests: write + pages: write + id-token: write strategy: matrix: From fd27abb8e07fbcbf600ef5ef7f3cbd09559edaea Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 01:35:50 +0330 Subject: [PATCH 6/7] Update codecov.yml --- .github/workflows/codecov.yml | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 753f953..8aa2427 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - node-version: [20.x, 21.x, 22.x] + node-version: [18.x, 20.x, 21.x] steps: - name: Checkout repository @@ -31,17 +31,6 @@ jobs: - name: Install dependencies run: npm install - - name: Wait for secrets - uses: step-security/wait-for-secrets@v1.2.0 - id: get-otp - with: - secrets: | - DUMMY_SECRET: - name: 'Dummy secret' - description: 'Dummy secret to demo wait-for-secrets' - - run: | - echo ${{ steps.get-otp.outputs.DUMMY_SECRET }} - - name: Run tests run: npm run test From 8ade8bcd8628ce7b9f4cc4e6df36cd4604a66363 Mon Sep 17 00:00:00 2001 From: js dev Date: Sun, 21 Jul 2024 01:37:36 +0330 Subject: [PATCH 7/7] Update codecov.yml --- .github/workflows/codecov.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index 8aa2427..ef7ad97 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -8,8 +8,6 @@ jobs: permissions: contents: write pull-requests: write - pages: write - id-token: write strategy: matrix: