From 9c1b3cb89bdca46fd7562d1d1377c7774d2a4945 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:16:36 +0000 Subject: [PATCH 1/2] chore(deps): bump commit-check from 0.8.3 to 0.8.4 Bumps [commit-check](https://github.com/commit-check/commit-check) from 0.8.3 to 0.8.4. - [Release notes](https://github.com/commit-check/commit-check/releases) - [Commits](https://github.com/commit-check/commit-check/compare/v0.8.3...v0.8.4) --- updated-dependencies: - dependency-name: commit-check dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 8a6ff3f..5fa521b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # Install commit-check CLI # For details please see: https://github.com/commit-check/commit-check -commit-check==0.8.3 +commit-check==0.8.4 # Interact with the GitHub API. PyGithub==2.4.0 From cf5e2f2114e9281967785497938f787a47391587 Mon Sep 17 00:00:00 2001 From: shenxianpeng Date: Mon, 28 Oct 2024 22:32:48 +0200 Subject: [PATCH 2/2] fix: add permissions for pr-comments --- .github/workflows/commit-check.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/commit-check.yml b/.github/workflows/commit-check.yml index ecea18c..3b939d2 100644 --- a/.github/workflows/commit-check.yml +++ b/.github/workflows/commit-check.yml @@ -5,6 +5,11 @@ on: branches: 'main' workflow_dispatch: +permissions: + contents: write + pull-requests: write + repository-projects: write + jobs: commit-check: runs-on: ubuntu-latest