mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
[PR #5984] [MERGED] ci: fix dependabot duplicated workflow runs #5765
Labels
No labels
LTS merge
LTS merge
bug
bug
converted-to-discussion
doc-todo
documentation
duplicate
enhancement
file-transfer
firecfg
firejail-in-firejail
firetools
graphics
help wanted
information_old
installation
invalid
modif
moved
needinfo
networking
notabug
notourbug
old-version
overlayfs
packaging
profile-request
pull-request
question
question_old
removal
runtime-permissions
sandbox-ipc
security
stale
wiki
wiki
wontfix
wordpress
workaround
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/firejail#5765
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/netblue30/firejail/pull/5984
Author: @kmk3
Created: 8/28/2023
Status: ✅ Merged
Merged: 8/30/2023
Merged by: @kmk3
Base:
master← Head:ci-fix-dependabot-dup📝 Commits (1)
0cc56a7ci: fix dependabot duplicated workflow runs📊 Changes
7 files changed (+14 additions, -0 deletions)
View changed files
📝
.github/workflows/build-extra.yml(+2 -0)📝
.github/workflows/build.yml(+2 -0)📝
.github/workflows/check-c.yml(+2 -0)📝
.github/workflows/check-profiles.yml(+2 -0)📝
.github/workflows/check-python.yml(+2 -0)📝
.github/workflows/codespell.yml(+2 -0)📝
.github/workflows/test.yml(+2 -0)📄 Description
Every workflow is being executed twice for dependabot: Once when its
branch is pushed to this repository and again when a PR is opened for
it.
For example, see the checks in #5979 ("29 checks passed").
This happens because both
on.pushandon.pull_requestare specifiedin the workflow files.
There does not seem to be a simple and generic way to avoid such
duplicated runs directly in GitHub Actions (such as preventing the same
check from running for the same exact commit)[1], so just ignore the
dependabot branches on push for now.
See also and commit
5871b08a4("ci: run for every branch instead of justmaster", 2023-04-23) / PR #5815.
[1] https://github.com/orgs/community/discussions/26276
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.