Skip to content

nrf_wifi : Update Wi-Fi FW blobs and shared header file #14

nrf_wifi : Update Wi-Fi FW blobs and shared header file

nrf_wifi : Update Wi-Fi FW blobs and shared header file #14

Workflow file for this run

name: Do Not Merge
on:
pull_request:
types: [synchronize, opened, reopened, labeled, unlabeled]
jobs:
do-not-merge:
name: Prevent Merging
runs-on: ubuntu-24.04
steps:
- name: Check for DNM label
uses: actions/github-script@60a0d83039c725a5ff217e4aa4b5cc5170e1c8d7 # v7.0.1
id: check-label
with:
script: |
const labels = context.payload.pull_request.labels || [];
const labelNames = labels.map(l => l.name);
const hasDnm = labelNames.includes('DNM');
core.setOutput('has_dnm', hasDnm);
return hasDnm;
- name: Fail if DNM label exists
if: steps.check-label.outputs.has_dnm == 'true'
run: |
echo "Pull request is labeled as 'DNM'"
echo "This workflow fails so that the pull request cannot be merged"
exit 1