No update available if update cannot be installed on system #6376
This file contains 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 |