Skip to content

Remove unused GitHub files from backport branches #158399

Description

@hugovk

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:

Linked PRs

Activity

  1. added
    infraCI, GitHub Actions, buildbots, Dependabot, etc.
    on Sep 29, 2026
  2. added 5 commits that reference this issue on Oct 1, 2026
  3. ezio-melotti commented on Oct 2, 2026

    @ezio-melotti
    Member

    Should this be added to PEP-101 too, in order to avoid ending up with the same set of unused files after each new release?

  4. hugovk commented on Oct 2, 2026

    @hugovk
    MemberAuthor

    Better than that, let's automate it. I've opened python/release-tools#441.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    infraCI, GitHub Actions, buildbots, Dependabot, etc.

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions