我正在尝试使用enforce-label-action强制标记 PR 。
name: Enforce PR label
on:
pull_request:
types: [labeled, unlabeled, opened, edited]
jobs:
enforce-label:
runs-on: ubuntu-latest
steps:
- uses: yogevbd/enforce-label-action@master
with:
REQUIRED_LABELS_ANY: "bug,enhancement,feature"
问题是每次标记 PR 时,都会创建一个新的检查运行,而旧的检查运行仍然处于失败状态,这导致检查套件显示:Some checks were not successful
.
github-actions
当触发具有相同名称的工作流检查时,是否可以丢弃旧的检查运行?