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 <donatas@opensourcerouting.org>
This commit is contained in:
Donatas Abraitis 2023-02-07 23:16:41 +02:00
parent 96475dfde9
commit 463e8d5d0a

View File

@ -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