Skip to content

fix CI permissions causing main dev build to fail #112

fix CI permissions causing main dev build to fail

fix CI permissions causing main dev build to fail #112

Workflow file for this run

# Block Pull Request merge (by failing the check) if specific labels are set.
name: "mergability.yml"
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
jobs:
check-labels:
runs-on: "ubuntu-latest"
name: "Check mergeability based on labels"
steps:
- if: ${{ contains(github.event.*.labels.*.name, 'dont-merge') }}
name: "Fail test due to 'dont-merge' label presence"
run: |
exit 1
- name: "Allow merging"
run: |
exit 0