diff --git a/.github/workflows/check_application_document.yml b/.github/workflows/check_application_document.yml index 84c3a37bfae..3e08ee13fbe 100644 --- a/.github/workflows/check_application_document.yml +++ b/.github/workflows/check_application_document.yml @@ -2,6 +2,7 @@ name: Check application document on: workflow_dispatch: + pull_request_target: pull_request: types: [opened, synchronize] @@ -20,19 +21,6 @@ jobs: filter: 'applications/*.md' format: 'csv' - add_label: - needs: get_filename - if: needs.get_filename.outputs.filename - runs-on: ubuntu-latest - permissions: - pull-requests: write - steps: - - name: add admin-review label - uses: actions-ecosystem/action-add-labels@v1 - with: - labels: admin-review - github_token: ${{ secrets.GITHUB_TOKEN }} - parse_document: needs: get_filename if: needs.get_filename.outputs.filename