networkservicemesh / networkservicemesh/api

Ensure `update-dependent-repositories` Workflow Runs for Dependabot Alert Merges

Open
#191 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
18
Forks
22
Avg merge
27m
Merged PRs (30d)
3

Description

Description

Currently, Dependabot runs weekly to check for outdated GitHub Actions. If an update is found, it creates a pull request and merges it automatically. However, the update-dependent-repositories workflow is skipped in this process.

For repositories with Dependabot alerts enabled:

  • Automated merging does not occur.
  • When manually merging a PR created from a Dependabot alert, the update-dependent-repositories workflow is still skipped.

This behavior may be incorrect, as the workflow should run when merging security-related updates from Dependabot alerts.

Expected behavior

  • Pull requests related to GitHub Actions updates (created by Dependabot) should be merged automatically, and the update-dependent-repositories workflow should be skipped for those.
  • Pull requests created by Dependabot alerts should not be merged automatically.
  • However, when a Dependabot alert PR is merged manually, the update-dependent-repositories workflow should be triggered.

Possible Fix

A prefix could be introduced for pull requests related to GitHub Actions (e.g., (github-actions)), which can be used to determine whether the update-dependent-repositories workflow should be executed later.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the update-dependent-repositories workflow and the Dependabot configuration that controls pull-request merging. Trace how GitHub Actions update PRs and Dependabot alert PRs are identified, then verify that only the former are auto-merged and that manually merged alert PRs trigger the workflow.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd, devops
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.