From f638d215bebb6247512d814e45bec047c8206d5d Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:02:37 -0500 Subject: [PATCH 1/4] add pull request permissions --- .github/workflows/commitlint.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 4d2bded..e7647ef 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -11,6 +11,7 @@ on: # Permissions for the GITHUB_TOKEN used by the workflow. permissions: contents: read # Allows reading the content of the repository. + pull-requests: read jobs: validate: From e245af859389bf26829ad996c8c9361130424e9e Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:05:14 -0500 Subject: [PATCH 2/4] test without permissions --- .github/workflows/commitlint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index e7647ef..4cf0b78 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -11,7 +11,7 @@ on: # Permissions for the GITHUB_TOKEN used by the workflow. permissions: contents: read # Allows reading the content of the repository. - pull-requests: read +# pull-requests: read jobs: validate: From bbb669f8e7bdac968fed573fc3a276a0b942a73c Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:06:14 -0500 Subject: [PATCH 3/4] re-enable permissions --- .github/workflows/commitlint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index 4cf0b78..e7647ef 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -11,7 +11,7 @@ on: # Permissions for the GITHUB_TOKEN used by the workflow. permissions: contents: read # Allows reading the content of the repository. -# pull-requests: read + pull-requests: read jobs: validate: From ac7acb36d643462a2aefce8a81c5bef0a566d076 Mon Sep 17 00:00:00 2001 From: Eric Wyles <23637493+ericwyles@users.noreply.github.com> Date: Thu, 24 Oct 2024 10:08:41 -0500 Subject: [PATCH 4/4] comment --- .github/workflows/commitlint.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yaml b/.github/workflows/commitlint.yaml index e7647ef..03c4917 100644 --- a/.github/workflows/commitlint.yaml +++ b/.github/workflows/commitlint.yaml @@ -11,7 +11,7 @@ on: # Permissions for the GITHUB_TOKEN used by the workflow. permissions: contents: read # Allows reading the content of the repository. - pull-requests: read + pull-requests: read # Allows reading pull requests jobs: validate: