Skip to content

feat: update org-settings and repo-settings to include more things#3

Merged
bitwise-fast-forward-merge[bot] merged 6 commits into
bitwise-media-group:mainfrom
dmccaffery:feat/update-org-settings
Jun 29, 2026
Merged

feat: update org-settings and repo-settings to include more things#3
bitwise-fast-forward-merge[bot] merged 6 commits into
bitwise-media-group:mainfrom
dmccaffery:feat/update-org-settings

Conversation

@dmccaffery

Copy link
Copy Markdown
Collaborator
  • include default maintainer team management
  • include GitHub Pages configuration
  • include pull-request collaborators-only
  • update all workflows

The creation/update restriction excluded Dependabot via the ref pattern refs/heads/dependabot/**, but GitHub evaluates ruleset ref_name patterns with fnmatch + FNM_PATHNAME, where a trailing ** behaves like * and does not cross / boundaries. Real Dependabot branches are nested (e.g. dependabot/go_modules/tools/github.com/containerd/containerd/v2-2.1.4), so they were never excluded and branch creation was blocked with "Cannot create ref due to creations being restricted." Use refs/heads/dependabot/**/* so ** matches the leading segments and the trailing * matches the final segment across the whole nested path.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Bump every org reusable-workflow pin from v1.1.0 to v3.2.1 (5a07255), crossing the v2 and v3 breaking releases and adopting the current caller suite.

v2: auto-merge.yaml is removed and folded into merge.yaml, which now triggers on issue_comment + workflow_run + schedule and no longer takes a pr-number input. v3: merge.yaml drops its pull_request(labeled)/pull_request_review triggers and gains the required merge-review-ack.yaml companion (listed in its workflow_run); dependabot-merge.yaml drops pull_request_target and is workflow_run-only.

Convert the inline codeql.yaml to a security.yaml caller (the v2 rename); the gating check is renamed "CodeQL analysis" -> "Security Analysis" and updated in the merge/dependabot workflow_run lists. public-code-quality gates on the "CodeQL" tool, not the workflow name, so the required code-scanning check is unaffected.

Convert the inline release-please.yaml to a release.yaml caller; v3.2.1 dropped the make build step, so a config-only repo with no .goreleaser.yaml gets a clean release-please-only cut. release-please still authors with GITHUB_TOKEN (verified commits satisfy required_signatures); vanity-tags stays default-false.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Add two repo settings to export/import:

- pull_request_creation_policy (all | collaborators_only): the 'Pull
  request permissions > Creation allowed by' setting, via the settings
  filter. settings.json selects collaborators_only.
- Pages 'Build and deployment > Source' via pages.json: build_type
  (workflow = GitHub Actions, legacy = deploy from a branch) plus source
  branch/path for branch deploys. Applied, not mirrored: import creates
  Pages when off and updates when on, never disables. pages.json selects
  GitHub Actions (build_type: workflow).

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
Bump all six reusable-workflow pins from v3.2.1 (5a07255) to v4.0.0
(4a154ff). Five of the six reusable workflows are byte-identical to
v3.2.1; the only behaviour change is in release.yaml.

v4 adds a docs job (Zensical -> GitHub Pages) to the reusable release
workflow. GitHub validates a reusable workflow's permissions as the
union of every job and ignores `if:`, so the release caller must now
grant the docs job's pages:write + id-token:write (and the
goreleaser/publish jobs' attestations:write + artifact-metadata:write,
previously omitted) or the run fails at startup -- even though all of
those jobs are skipped here (no .goreleaser.yaml, no zensical.toml). The
permissions block is only a ceiling: each reusable job narrows to its own
declared scopes, so release-please, the only job that runs here, still
gets just contents/issues/pull-requests.

Signed-off-by: Deavon M. McCaffery <dmccaffery@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Note

Merging this PR: this repository merges by fast-forward so every
commit keeps its original signature. The GitHub merge button is not used.
Once this PR is approved and all checks pass, a maintainer merges it by
commenting /merge on the PR.

The branch must be up to date with main (rebased and re-signed) to
fast-forward. If /merge reports it is not fast-forwardable, rebase onto
main and comment /merge again.

@dmccaffery

Copy link
Copy Markdown
Collaborator Author

/merge

@bitwise-fast-forward-merge

Copy link
Copy Markdown
Contributor

Fast-forwarded main to e12f5c84d992 — original signature preserved, no re-sign.

@bitwise-fast-forward-merge bitwise-fast-forward-merge Bot merged commit e12f5c8 into bitwise-media-group:main Jun 29, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants