fix: prevent DB lock from orphaning auto-approved requests #1238
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will triage pull requests and apply a label based on the | |
| # paths that are modified in the pull request. | |
| # | |
| # To use this workflow, you will need to set up a .github/labeler.yml | |
| # file with configuration. For more information, see: | |
| # https://github.com/actions/labeler | |
| name: Labeler | |
| # pull_request_target runs in the base repo context, so the token has | |
| # write access even when the PR originates from a fork. | |
| # Safe here because we never checkout or execute code from the fork. | |
| on: [pull_request_target] | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| jobs: | |
| label: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/labeler@v2 | |
| with: | |
| repo-token: "${{ secrets.GITHUB_TOKEN }}" |