Reduce warnings noise: skip git info without .git dir and avoid CLI version check #249
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: Remove Label | |
| on: | |
| pull_request_target: | |
| types: [labeled] | |
| # Ensures that only the latest commit is running for each PR at a time. | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| Remove-Label: | |
| if: contains(github.event.pull_request.labels.*.name, 'safe to test') | |
| name: Remove label | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Remove 'safe to test' | |
| uses: actions-ecosystem/action-remove-labels@v1 | |
| with: | |
| labels: "safe to test" |