From 463e8d5d0a833028595d4f6400a9192b6897a22d Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 7 Feb 2023 23:16:41 +0200 Subject: [PATCH] tools: Replace pull_request_target to pull_request for commitlint action Tested locally, it works. So it seems that, pull_request_target is not working properly, let's check. Signed-off-by: Donatas Abraitis --- .github/workflows/commitlint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/commitlint.yml b/.github/workflows/commitlint.yml index e9c66a9036..f5a2e7d360 100644 --- a/.github/workflows/commitlint.yml +++ b/.github/workflows/commitlint.yml @@ -1,7 +1,7 @@ name: commitlint on: - pull_request_target: + pull_request: types: - opened - reopened @@ -14,6 +14,7 @@ jobs: if: github.repository == 'frrouting/frr' permissions: contents: read + pull-requests: read runs-on: ubuntu-latest steps: - name: Checkout