Add one-shot mode and docker-given totals to stats API #12662
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: Check PR | |
| on: | |
| pull_request: | |
| branches: ["main"] | |
| types: [labeled, unlabeled, synchronize] | |
| jobs: | |
| init: | |
| name: Check labels | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check labels | |
| run: | | |
| labels=$(jq -r '.pull_request.labels[] | .name' ${{github.event_path }}) | |
| echo "$labels" | |
| if [ "$labels" == "cla-signed" ]; then | |
| exit 1 | |
| fi |