cscherrer / Soss.jl

Probabilistic programming via source rewriting

Home Page:https://cscherrer.github.io/Soss.jl/stable/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TODO: Update branch protection settings for the `master` branch

DilumAluthge opened this issue · comments

Now that we use GitHub Actions for CI (instead of Travis CI), we need to update the branch protection settings for the master branch:

  1. Go to https://github.com/cscherrer/Soss.jl/settings/branches
  2. In the row that says master, click on the Edit button
  3. Check the "Require status checks to pass before merging" checkbox.
  4. Check the "Require branches to be up to date before merging" checkbox. This ensures that we will never have any semantic conflicts.
  5. In the "Status checks found in the last week for this repository" section, check only the following checkboxes:
    • "Documentation"
    • "Julia 1 - ubuntu-latest - x64 - pull_request"
    • "codecov/patch"
    • "codecov/project"
  6. At the bottom of the page, click the green "Save changes" button.

cc: @cscherrer

Ok, done. Just to confirm, do we really want bots like CompatHelper and TagBot to be unchecked?

Ok, done. Just to confirm, do we really want bots like CompatHelper and TagBot to be unchecked?

Yeah it seems counterintuitive, right? The problem is that those bots on run on cron jobs. They never actually run on pull requests, meaning that they never report statuses on pull requests. So if you check the box for one of those bots, you'll never be able to merge any PRs, because the bot will never report a status on any PR. (They always report their status on the master branch only.)