fix: Fix the issue of deleting project directories caused by failed creation of the running environment #5959
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
| name: General PR Handling for 1Panel | |
| on: pull_request | |
| permissions: | |
| pull-requests: write | |
| jobs: | |
| generic_handler: | |
| name: Add Labels to PR | |
| if: github.repository == '1Panel-dev/1Panel' && github.event.pull_request.user.login != 'dependabot[bot]' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions-ecosystem/action-add-labels@v1 | |
| with: | |
| github_token: ${{ secrets.GITHUBTOKEN }} | |
| labels: ${{ github.base_ref }} |