From f755f1feccacbda20e5a5d2fe8476bf2507e9e9e Mon Sep 17 00:00:00 2001 From: andrew <27866671+andrew-field@users.noreply.github.com> Date: Sun, 13 Oct 2024 19:19:22 +0300 Subject: [PATCH] test: yaml options --- .github/workflows/build-test.yml | 2 ++ .github/workflows/bump-go-mod-version.yml | 1 + .github/workflows/linter.yml | 2 +- 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index ae3370f..e16fa21 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -9,6 +9,8 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: +permissions: {} + jobs: build_test: name: Call build and test action diff --git a/.github/workflows/bump-go-mod-version.yml b/.github/workflows/bump-go-mod-version.yml index 828c895..337cf4e 100644 --- a/.github/workflows/bump-go-mod-version.yml +++ b/.github/workflows/bump-go-mod-version.yml @@ -8,6 +8,7 @@ on: workflow_dispatch: permissions: + pull-requests: write contents: write jobs: diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 39bb9e6..15db548 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -9,7 +9,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: -permissions: read-all +permissions: {} jobs: lint: