[PR #5984] [MERGED] ci: fix dependabot duplicated workflow runs #5765

Closed
opened 2026-05-05 10:44:29 -06:00 by gitea-mirror · 0 comments
Owner

📋 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: masterHead: ci-fix-dependabot-dup


📝 Commits (1)

  • 0cc56a7 ci: 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.push and on.pull_request are specified
in 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 just
master", 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.

## 📋 Pull Request Information **Original PR:** https://github.com/netblue30/firejail/pull/5984 **Author:** [@kmk3](https://github.com/kmk3) **Created:** 8/28/2023 **Status:** ✅ Merged **Merged:** 8/30/2023 **Merged by:** [@kmk3](https://github.com/kmk3) **Base:** `master` ← **Head:** `ci-fix-dependabot-dup` --- ### 📝 Commits (1) - [`0cc56a7`](https://github.com/netblue30/firejail/commit/0cc56a71a51296b76765992900c101efc658e909) ci: fix dependabot duplicated workflow runs ### 📊 Changes **7 files changed** (+14 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.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) </details> ### 📄 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.push` and `on.pull_request` are specified in 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 just master", 2023-04-23) / PR #5815. [1] https://github.com/orgs/community/discussions/26276 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-05 10:44:29 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/firejail#5765
No description provided.