From e2f77cdb8ce9186a324c8dd472f85468f659f463 Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Sun, 14 Jan 2024 00:50:10 +0000 Subject: [PATCH] update workflow Signed-off-by: Prabhu Subramanian --- .github/workflows/pr.yml | 4 +++- .github/workflows/release.yml | 6 ++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index ebf20e7..a1ee56c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -10,7 +10,9 @@ on: jobs: test-codepropertygraph: runs-on: ubuntu-latest - + permissions: + contents: read + packages: read steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c239b24..9559186 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,6 +8,9 @@ on: jobs: test-codepropertygraph: runs-on: ubuntu-latest + permissions: + contents: read + packages: read steps: - uses: actions/checkout@v4 with: @@ -28,6 +31,9 @@ jobs: concurrency: release needs: [test-codepropertygraph] runs-on: ubuntu-latest + permissions: + contents: write + packages: write steps: - uses: actions/checkout@v4 with: