[英]Have a unique check-run for github actions workflow
I'm trying to enforce labelling PR's using enforce-label-action .我正在尝试使用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"
The problem is that each time PR is labeled, a new check-run getting created and the old one's still having a failing status which cause the check-suite to show: Some checks were not successful
.问题是每次标记 PR 时,都会创建一个新的检查运行,而旧的检查运行仍然处于失败状态,这导致检查套件显示:
Some checks were not successful
。
Is it possible for github-actions
to discard the old check-runs when a workflow check with the same name is getting triggered?当触发具有相同名称的工作流检查时,
github-actions
是否可以丢弃旧的检查运行?
This is now fixed, it was a bug on GitHubs end.现在已修复,这是 GitHub 端的一个错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.