opensafely-core / opensafely-core/opensafely-cli

Automate updating of vendored dependencies using Github Action

Open
#23 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
5
Avg merge
2d 1h
Merged PRs (30d)
4

Description

This should be possible using something like: https://github.com/marketplace/actions/create-pull-request

We'd want this to run as a scheduled job (once every few hours is probably enough) and also be able to run it manually using workflow_dispatch.

It would "just" be a case of checking out master, running ./scripts/update-dependencies.sh and then creating a PR if there are any changes.

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 with ./scripts/update-dependencies.sh and the create-pull-request GitHub Action referenced in the issue. Add a scheduled workflow with workflow_dispatch that checks out master, runs the dependency update script, and opens a pull request only when files change; verify both trigger modes and the no-change case.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions, shell
Domain
ci-cd, devops
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.