We have a number of GitHub (and similar) files which are only needed in the default main branch.
I suggest we remove them from the backport branches, so it's clear they no longer need to be updated there.
These files only have effect in main:
.github/dependabot.yml
.github/ISSUE_TEMPLATE/
.github/PULL_REQUEST_TEMPLATE.md
.github/workflows/add-issue-header.yml
.github/workflows/new-bugs-announce-notifier.yml
.github/workflows/project-updater.yml
.github/workflows/stale.yml
(Note #158013 will remove add-issue-header.yml from main.)
Only the main copies of these show up in special places in the GitHub UI, but they can stay as documentation in the other branches:
.github/CONTRIBUTING.rst
.github/SECURITY.md
Also remove:
We have a number of GitHub (and similar) files which are only needed in the default
mainbranch.I suggest we remove them from the backport branches, so it's clear they no longer need to be updated there.
These files only have effect in
main:(Note #158013 will remove
add-issue-header.ymlfrommain.)Only the
maincopies of these show up in special places in the GitHub UI, but they can stay as documentation in the other branches:Also remove:
.github/zizmor.yml- it's no longer needed: it says to ignore the dangerous trigger indocumentation-links.ymlbut we've already deleteddocumentation-links.yml: Replace deprecated action with RtD app #149111..well-known/funding-manifest-urls- only needed inmain, to verify https://github.com/python/cpython/blob/main/.well-known/funding-manifest-urls linked to from https://www.python.org/funding.json.azure-pipelines/pr.yml,posix-steps.ymlandposix-deps-apt.shon 3.12/3.13 - already removed onmainin GH-109408: Remove.azure-pipelines/pr.yml#122643, never backported, so can remove. Azure Pipelines only runs on pushes, not PR..travis.ymlon 3.10, long dead..github/FUNDING.ymlon 3.10, also dead, already removed elsewhere as we have an org default (DeleteFUNDING.yml, since there's an organisation default #30294).