mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-06-25 23:11:57 +00:00
GitHubActions: fix invalid format of require-pr-porting-labels.yaml
The yaml file has an indent issue from line 15. And the branches filter should be under pull_request_target but not the pull_request trigger. Also actions/checkout@v2 does not need the token parameter. Fixes: #2798 Signed-off-by: bin <bin@hyper.sh>
This commit is contained in:
parent
db7d3b91bd
commit
a9c2a4ba8e
@ -12,7 +12,6 @@ on:
|
||||
- reopened
|
||||
- labeled
|
||||
- unlabeled
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
|
||||
@ -32,8 +31,6 @@ jobs:
|
||||
|
||||
- name: Checkout code to allow hub to communicate with the project
|
||||
uses: actions/checkout@v2
|
||||
with:
|
||||
token: ${{ secrets.KATA_GITHUB_ACTIONS_TOKEN }}
|
||||
|
||||
- name: Install porting checker script
|
||||
run: |
|
||||
|
Loading…
Reference in New Issue
Block a user