Skip to content
Unverified Commit cf6874eb authored by Alexander Samusev's avatar Alexander Samusev Committed by GitHub
Browse files

[ci] Don't run prdoc and lables GHA on master (#3257)

PR adds condition to ignore master branch for prdoc and labels GHA.

This option doesn't work because all PRs are for master thus the actions
won't start:
```yml
on:
  pull_request:
    branches-ignore:
      - master
```

This option doesn't work because actions don't see the PR number and
[break](https://github.com/paritytech/polkadot-sdk/actions/runs/7827272667/job/21354764953):
```yml
on:
  push:
    branches-ignore:
      - master
```

cc https://github.com/paritytech/ci_cd/issues/940
cc https://github.com/paritytech/polkadot-sdk/issues/3240
parent 2ea6bcf1
Pipeline #442993 failed with stages
in 1 hour, 35 minutes, and 3 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment