From 9bdaa4efc82672543e9825068ecac7f527210ff8 Mon Sep 17 00:00:00 2001 From: nicolaasuni-vonage Date: Fri, 11 Aug 2023 12:15:12 +0100 Subject: [PATCH] Fix permissions --- .github/workflows/autopr.yaml | 4 ++++ .github/workflows/codeql.yml | 3 +-- VERSION | 2 +- examples/service/go.mod | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/autopr.yaml b/.github/workflows/autopr.yaml index d3c0fba0..6c6b187b 100644 --- a/.github/workflows/autopr.yaml +++ b/.github/workflows/autopr.yaml @@ -5,9 +5,13 @@ on: branches: - 'autopr/**' +permissions: read-all + jobs: create-pull-request: runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - name: Create PR uses: actions/github-script@v6 diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 1ab46f61..259335c1 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -18,8 +18,7 @@ on: schedule: - cron: '22 23 * * 3' -permissions: - contents: read +permissions: read-all jobs: analyze: diff --git a/VERSION b/VERSION index 3bc30343..2ea5ecd8 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.78.2 +1.78.3 diff --git a/examples/service/go.mod b/examples/service/go.mod index d8614f8f..c552a43a 100644 --- a/examples/service/go.mod +++ b/examples/service/go.mod @@ -5,7 +5,7 @@ go 1.21 replace github.com/Vonage/gosrvlib => ../.. require ( - github.com/Vonage/gosrvlib v1.78.2 + github.com/Vonage/gosrvlib v1.78.3 github.com/golang/mock v1.6.0 github.com/jstemmer/go-junit-report v0.9.1 github.com/prometheus/client_golang v1.16.0