fix workload identity in azure reader #531
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: CLA | |
on: | |
pull_request: | |
branches: | |
- main | |
types: | |
- opened | |
- reopened | |
- synchronize | |
- labeled | |
- unlabeled | |
permissions: | |
contents: read | |
jobs: | |
# Based on https://stackoverflow.com/questions/71502652/prevent-merging-of-branch-conditionally-based-on-label | |
fail-for-no-cla: | |
if: ${{!contains(github.event.pull_request.labels.*.name, 'cla')}} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fail for missing cla label | |
run: | | |
echo "cla label missing. See CONTRIBUTING.md." | |
exit 1 |