diff --git a/.github/workflows/label-actions.yml b/.github/workflows/label-actions.yml index 731c492a02..b08f3d9952 100644 --- a/.github/workflows/label-actions.yml +++ b/.github/workflows/label-actions.yml @@ -4,11 +4,15 @@ on: workflow_dispatch: issues: types: [opened, closed, labeled] - pull_request: + pull_request_target: types: [closed, labeled] schedule: - cron: '0 * * * *' +permissions: + issues: write + pull-requests: write + jobs: action: runs-on: ubuntu-latest