Skip to content

Commit 56fce7d

Browse files
authored
chore: update all references for repo transfer to github-community-projects (#337)
* chore: update all references for repo transfer to github-community-projects ## What Updated all remaining references from `github/cleanowners` to `github-community-projects/cleanowners` across documentation, workflows, Docker image metadata, action definition, and usage examples. Also bumped action and container image version references from v1 to v2. ## Why The repository has been transferred from `github` to `github-community-projects` and the previous commit (c629df2) only covered CODEOWNERS and the PR template. This completes the migration so all URLs, image references, and usage examples point to the correct org and version. ## Notes - The action.yml docker image changed to `ghcr.io/github-community-projects/cleanowners:v2` — the v2 container image must be published at the new registry path before this ships or the action will break for consumers - README usage examples were bumped from `github/cleanowners@v1` to `github-community-projects/cleanowners@v2` — existing users following the README will adopt the new org and version simultaneously - The contributors_report.yaml workflow `REPOSITORY` env var was updated; if this workflow runs before the GitHub API recognizes the new org path, it will fail - OpenSSF Scorecard badge URL was updated; the scorecard service may need time to re-index under the new org Signed-off-by: jmeridth <jmeridth@gmail.com> * fix: resolve pylint config errors breaking super-linter ## What Removed the deprecated `suggestion-mode` option from the pylint config. ## Why The `suggestion-mode` option was removed in newer versions of pylint, causing an `E0015: Unrecognized option` error that fails the super-linter CI job. ## Notes - These errors were hidden until super-linter upgraded its bundled pylint version - Saw these errors [here](https://github.com/github-community-projects/contributors/actions/runs/22372943481/job/64756293990?pr=394#step:5:488) which made me check the version of python-lint in this repo and the config. Same issue here. - `suggestion-mode` was [removed in 4.0 of pylint](https://pylint.readthedocs.io/en/latest/whatsnew/4/4.0/index.html) Signed-off-by: Jason Meridth <jmeridth@gmail.com> * fix: linting Signed-off-by: jmeridth <jmeridth@gmail.com> --------- Signed-off-by: jmeridth <jmeridth@gmail.com> Signed-off-by: Jason Meridth <jmeridth@gmail.com>
1 parent 8306025 commit 56fce7d

8 files changed

Lines changed: 25 additions & 30 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @github/ospo-github-actions
1+
* @zkoppert @jmeridth

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ blank_issues_enabled: false
22

33
contact_links:
44
- name: Ask a question
5-
url: https://github.com/github/cleanowners/discussions/new
5+
url: https://github.com/github-community-projects/cleanowners/discussions/new
66
about: Ask a question or start a discussion
77
- name: GitHub OSPO GitHub Action Overall Issue
88
url: https://github.com/github/github-ospo/issues/new

.github/pull_request_template.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,3 @@ examples: "feat: add new logger" or "fix: remove unused imports"
2020
- [ ] If documentation is needed for this change, has that been included in this pull request
2121
- [ ] run `make lint` and fix any issues that you have introduced
2222
- [ ] run `make test` and ensure you have test coverage for the lines you are introducing
23-
- [ ] If publishing new data to the public (scorecards, security scan results, code quality results, live dashboards, etc.), please request review from `@jeffrey-luszcz`
24-
25-
### Reviewer
26-
27-
- [ ] Label as either `fix`, `documentation`, `enhancement`, `infrastructure`, `maintenance` or `breaking`

.github/workflows/contributors_report.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3636
START_DATE: ${{ env.START_DATE }}
3737
END_DATE: ${{ env.END_DATE }}
38-
REPOSITORY: github/cleanowners
38+
REPOSITORY: github-community-projects/cleanowners
3939
SPONSOR_INFO: "true"
4040

4141
- name: Create issue

CONTRIBUTING.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ All types of contributions are encouraged and valued. See the [Table of Contents
1919

2020
## I Have a Question
2121

22-
Before you ask a question, it is best to search for existing [Issues](https://github.com/github/cleanowners/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue.
22+
Before you ask a question, it is best to search for existing [Issues](https://github.com/github-community-projects/cleanowners/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue.
2323

2424
If you then still feel the need to ask a question and need clarification, we recommend the following:
2525

26-
- Open an [Issue](https://github.com/github/cleanowners/issues/new).
26+
- Open an [Issue](https://github.com/github-community-projects/cleanowners/issues/new).
2727
- Provide as much context as you can about what you're running into.
2828
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
2929

@@ -45,7 +45,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
4545

4646
- Make sure that you are using the latest version.
4747
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the documentation. If you are looking for support, you might want to check [this section](#i-have-a-question)).
48-
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/github/cleanowners/issues).
48+
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/github-community-projects/cleanowners/issues).
4949
- Collect information about the bug:
5050
- Stack trace (Traceback)
5151
- OS, Platform and Version (Windows, Linux, macOS, x86, ARM)
@@ -57,7 +57,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
5757

5858
### How Do I Submit a Good Bug Report?
5959

60-
Please submit a bug report using our [GitHub Issues template](https://github.com/github/cleanowners/issues/new?template=bug_report.yml).
60+
Please submit a bug report using our [GitHub Issues template](https://github.com/github-community-projects/cleanowners/issues/new?template=bug_report.yml).
6161

6262
## Suggesting Enhancements
6363

@@ -69,14 +69,14 @@ This section guides you through submitting an enhancement suggestion for cleanow
6969

7070
- Make sure that you are using the latest version.
7171
- Read the documentation carefully and find out if the functionality is already covered, maybe by an individual configuration.
72-
- Perform a [search](https://github.com/github/cleanowners/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
72+
- Perform a [search](https://github.com/github-community-projects/cleanowners/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
7373
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature or to develop the feature yourself and contribute it to the project.
7474

7575
<!-- omit in toc -->
7676

7777
### How Do I Submit a Good Enhancement Suggestion?
7878

79-
Please submit an enhancement suggestion using our [GitHub Issues template](https://github.com/github/cleanowners/issues/new?template=feature_request.yml).
79+
Please submit an enhancement suggestion using our [GitHub Issues template](https://github.com/github-community-projects/cleanowners/issues/new?template=feature_request.yml).
8080

8181
### Pull Request Standards
8282

@@ -86,4 +86,4 @@ We are using [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.
8686

8787
Releases are automated if a pull request is labelled with our [semver related labels](.github/release-drafter.yml) or with the `vuln` or `release` labels.
8888

89-
You can also manually initiate a release you can do so through the GitHub Actions UI. If you have permissions to do so, you can navigate to the [Actions tab](https://github.com/github/cleanowners/actions/workflows/release.yml) and select the `Run workflow` button. This will allow you to select the branch to release from and the version to release.
89+
You can also manually initiate a release you can do so through the GitHub Actions UI. If you have permissions to do so, you can navigate to the [Actions tab](https://github.com/github-community-projects/cleanowners/actions/workflows/release.yml) and select the `Run workflow` button. This will allow you to select the branch to release from and the version to release.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#checkov:skip=CKV_DOCKER_3
33
#trivy:ignore:AVD-DS-0002
44
FROM python:3.14.0-slim@sha256:0aecac02dc3d4c5dbb024b753af084cafe41f5416e02193f1ce345d671ec966e
5-
LABEL org.opencontainers.image.source https://github.com/github/cleanowners
5+
LABEL org.opencontainers.image.source https://github.com/github-community-projects/cleanowners
66

77
WORKDIR /action/workspace
88
COPY requirements.txt *.py /action/workspace/

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Cleanowners action
22

3-
[![CodeQL](https://github.com/github/cleanowners/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/github/cleanowners/actions/workflows/github-code-scanning/codeql) [![Lint Code Base](https://github.com/github/cleanowners/actions/workflows/super-linter.yaml/badge.svg)](https://github.com/github/cleanowners/actions/workflows/super-linter.yaml) [![Python package](https://github.com/github/cleanowners/actions/workflows/python-ci.yml/badge.svg)](https://github.com/github/cleanowners/actions/workflows/python-ci.yml) [![Docker Image CI](https://github.com/github/cleanowners/actions/workflows/docker-ci.yml/badge.svg)](https://github.com/github/cleanowners/actions/workflows/docker-ci.yml)[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github/cleanowners/badge)](https://scorecard.dev/viewer/?uri=github.com/github/cleanowners)
3+
[![CodeQL](https://github.com/github-community-projects/cleanowners/actions/workflows/github-code-scanning/codeql/badge.svg)](https://github.com/github-community-projects/cleanowners/actions/workflows/github-code-scanning/codeql) [![Lint Code Base](https://github.com/github-community-projects/cleanowners/actions/workflows/super-linter.yaml/badge.svg)](https://github.com/github-community-projects/cleanowners/actions/workflows/super-linter.yaml) [![Python package](https://github.com/github-community-projects/cleanowners/actions/workflows/python-ci.yml/badge.svg)](https://github.com/github-community-projects/cleanowners/actions/workflows/python-ci.yml) [![Docker Image CI](https://github.com/github-community-projects/cleanowners/actions/workflows/docker-ci.yml/badge.svg)](https://github.com/github-community-projects/cleanowners/actions/workflows/docker-ci.yml)[![OpenSSF Scorecard](https://api.scorecard.dev/projects/github.com/github-community-projects/cleanowners/badge)](https://scorecard.dev/viewer/?uri=github.com/github-community-projects/cleanowners)
44

55
Cleanowners is a GitHub Action that is designed to help keep `CODEOWNERS` files current by removing users that are no longer a part of the organization. This is helpful for companies that are looking to remove outdated information in the `CODEOWNERS` file. This action can be paired with other `CODEOWNERS` related actions to suggest new owners or lint `CODEOWNERS` files to ensure accuracy.
66

@@ -10,7 +10,7 @@ This action was developed by the GitHub OSPO for our own use and developed in a
1010

1111
## Support
1212

13-
If you need support using this project or have questions about it, please [open up an issue in this repository](https://github.com/github/cleanowners/issues). Requests made directly to GitHub staff or support team will be redirected here to open an issue. GitHub SLA's and support/services contracts do not apply to this repository.
13+
If you need support using this project or have questions about it, please [open up an issue in this repository](https://github.com/github-community-projects/cleanowners/issues). Requests made directly to GitHub staff or support team will be redirected here to open an issue. GitHub SLA's and support/services contracts do not apply to this repository.
1414

1515
### OSPO GitHub Actions as a Whole
1616

@@ -52,14 +52,14 @@ This action can be configured to authenticate with GitHub App Installation or Pe
5252

5353
#### Other Configuration Options
5454

55-
| field | required | default | description |
56-
| ------------------- | ----------------------------------------------- | ------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57-
| `GH_ENTERPRISE_URL` | False | "" | The `GH_ENTERPRISE_URL` is used to connect to an enterprise server instance of GitHub. github.com users should not enter anything here. |
58-
| `ORGANIZATION` | Required to have `ORGANIZATION` or `REPOSITORY` | | The name of the GitHub organization which you want this action to work from. ie. github.com/github would be `github` |
59-
| `REPOSITORY` | Required to have `ORGANIZATION` or `REPOSITORY` | | The name of the repository and organization which you want this action to work from. ie. `github/cleanowners` or a comma separated list of multiple repositories `github/cleanowners,super-linter/super-linter` |
60-
| `EXEMPT_REPOS` | False | "" | These repositories will be exempt from this action. ex: If my org is set to `github` then I might want to exempt a few of the repos but get the rest by setting `EXEMPT_REPOS` to `github/cleanowners,github/contributors` |
61-
| `DRY_RUN` | False | False | If set to true, this action will not create any pull requests. It will only log the repositories that could have the `CODEOWNERS` file updated. This is useful for testing or discovering the scope of this issue in your organization. |
62-
| `ISSUE_REPORT` | False | False | If set to true, this action will create an issue in the repository with the report on the repositories that had users removed from the `CODEOWNERS` file. |
55+
| field | required | default | description |
56+
| ------------------- | ----------------------------------------------- | ------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
57+
| `GH_ENTERPRISE_URL` | False | "" | The `GH_ENTERPRISE_URL` is used to connect to an enterprise server instance of GitHub. github.com users should not enter anything here. |
58+
| `ORGANIZATION` | Required to have `ORGANIZATION` or `REPOSITORY` | | The name of the GitHub organization which you want this action to work from. ie. github.com/github would be `github` |
59+
| `REPOSITORY` | Required to have `ORGANIZATION` or `REPOSITORY` | | The name of the repository and organization which you want this action to work from. ie. `github-community-projects/cleanowners` or a comma separated list of multiple repositories `github-community-projects/cleanowners,super-linter/super-linter` |
60+
| `EXEMPT_REPOS` | False | "" | These repositories will be exempt from this action. ex: If my org is set to `github` then I might want to exempt a few of the repos but get the rest by setting `EXEMPT_REPOS` to `github-community-projects/cleanowners,github/contributors` |
61+
| `DRY_RUN` | False | False | If set to true, this action will not create any pull requests. It will only log the repositories that could have the `CODEOWNERS` file updated. This is useful for testing or discovering the scope of this issue in your organization. |
62+
| `ISSUE_REPORT` | False | False | If set to true, this action will create an issue in the repository with the report on the repositories that had users removed from the `CODEOWNERS` file. |
6363

6464
### Example workflows
6565

@@ -85,7 +85,7 @@ jobs:
8585

8686
steps:
8787
- name: Run cleanowners action
88-
uses: github/cleanowners@v1
88+
uses: github-community-projects/cleanowners@v2
8989
env:
9090
GH_TOKEN: ${{ secrets.GH_TOKEN }}
9191
ORGANIZATION: <YOUR_ORGANIZATION_GOES_HERE>
@@ -113,7 +113,7 @@ jobs:
113113

114114
steps:
115115
- name: Run cleanowners action
116-
uses: github/cleanowners@v1
116+
uses: github-community-projects/cleanowners@v2
117117
env:
118118
GH_TOKEN: ${{ secrets.GH_TOKEN }}
119119
ORGANIZATION: <YOUR_ORGANIZATION_GOES_HERE>
@@ -152,7 +152,7 @@ jobs:
152152
153153
steps:
154154
- name: Run cleanowners action
155-
uses: github/cleanowners@v1
155+
uses: github-community-projects/cleanowners@v2
156156
env:
157157
GH_APP_ID: ${{ secrets.GH_APP_ID }}
158158
GH_APP_INSTALLATION_ID: ${{ secrets.GH_APP_INSTALLATION_ID }}

action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ author: "github"
44
description: "A GitHub Action to suggest removal of non-organization members from CODEOWNERS files."
55
runs:
66
using: "docker"
7-
image: "docker://ghcr.io/github/cleanowners:v1"
7+
image: "docker://ghcr.io/github-community-projects/cleanowners:v2"
88
branding:
99
icon: "bell"
1010
color: "orange"

0 commit comments

Comments
 (0)