NEOS-1641: Fixes stale DB Connections during Data Sync Workflow #2060
Workflow file for this run
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: Ensure PR Has Label(s) | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
- unlabeled | |
jobs: | |
check_labels: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Ensure PR has at least one label | |
if: ${{ github.event.pull_request.labels[0] == null }} | |
run: | | |
echo "No labels found: please add at least one label to the PR" | |
exit 1 | |
shell: bash |