SciML / SciML/ADTypes.jl

Strengthen branch protections

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

Nobody has claimed this yet.

Dominant language
Julia
Stars
70
Forks
20
Avg merge
5h 17m
Merged PRs (30d)
7

Description

I accidentally pushed to main directly for https://github.com/SciML/ADTypes.jl/commit/b7ba2870bde294c6834b6541a657901062a6aec2 and the repo didn't stop me. Perhaps we should add rules so that such pushes are impossible, even for people with the necessary permissions? There is one to require pull requests but we may need to tick the box that says it applies to all roles.

Contributor guide

Open the contributing guide

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

Open the repository settings and review the branch protection rule that requires pull requests. Check whether the setting can apply to all roles, then verify that direct pushes to main are rejected, including for users with the necessary permissions.

Written by the indexing model from the issue text.

Assessment

Tech stack
github
Domain
devops, security
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.