From 9cdd94e758fd5d48cc95a3749769712c6bddf087 Mon Sep 17 00:00:00 2001 From: Markus Felten Date: Mon, 4 Mar 2024 22:28:47 +0100 Subject: [PATCH] chore(actions): merge from template .github/workflows/ci.yml --- .github/workflows/ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b5bc6cd..814e1d1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,8 @@ on: branches: - master - next +permissions: + contents: read jobs: test-node: runs-on: ubuntu-latest @@ -36,6 +38,11 @@ jobs: needs: - test-node runs-on: ubuntu-latest + permissions: + contents: write + issues: write + pull-requests: write + id-token: write steps: - uses: actions/checkout@v4.1.1 - uses: actions/setup-node@v4.0.2 @@ -49,11 +56,6 @@ jobs: CI: "true" NPM_TOKEN: ${{ secrets.NPM_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - permissions: - contents: write - issues: write - pull-requests: write - id-token: write finish: needs: - test-node @@ -65,5 +67,3 @@ jobs: github-token: ${{ secrets.GITHUB_TOKEN }} path-to-lcov: build/coverage/lcov.info parallel-finished: true -permissions: - contents: read