{"id":20155346,"url":"https://github.com/redhat-cop/github-workflows-operators","last_synced_at":"2025-10-04T23:56:03.381Z","repository":{"id":40467364,"uuid":"436107544","full_name":"redhat-cop/github-workflows-operators","owner":"redhat-cop","description":"Collection of GitHub Actions Workflow implementations","archived":false,"fork":false,"pushed_at":"2025-10-02T17:40:00.000Z","size":292,"stargazers_count":1,"open_issues_count":19,"forks_count":8,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-10-02T17:45:03.181Z","etag":null,"topics":["container-cop"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/redhat-cop.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-08T03:46:37.000Z","updated_at":"2025-08-29T11:12:48.000Z","dependencies_parsed_at":"2023-12-05T11:28:23.512Z","dependency_job_id":"397a8489-72f4-4a74-a921-daaba81d26ab","html_url":"https://github.com/redhat-cop/github-workflows-operators","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/redhat-cop/github-workflows-operators","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Fgithub-workflows-operators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Fgithub-workflows-operators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Fgithub-workflows-operators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Fgithub-workflows-operators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/redhat-cop","download_url":"https://codeload.github.com/redhat-cop/github-workflows-operators/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/redhat-cop%2Fgithub-workflows-operators/sbom","scorecard":{"id":1062627,"data":{"date":"2025-08-27T19:39:13Z","repo":{"name":"github.com/redhat-cop/github-workflows-operators","commit":"342e4c016d3011382a7e7bd006d620cd06e26563"},"scorecard":{"version":"v5.1.1","commit":"cd152cb6742c5b8f2f3d2b5193b41d9c50905198"},"score":5.4,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#maintained"}},{"name":"Dependency-Update-Tool","score":10,"reason":"update tool detected","details":["Info: detected update tool: Dependabot: .github/dependabot.yaml:1","Info: detected update tool: RenovateBot: renovate.json:1"],"documentation":{"short":"Determines if the project uses a dependency update tool.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#dependency-update-tool"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 16 changesets","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Info: jobLevel 'contents' permission set to 'read': .github/workflows/release-operator.yml:234","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release-operator.yml:403","Info: jobLevel 'contents' permission set to 'read': .github/workflows/release-operator.yml:477","Info: jobLevel 'actions' permission set to 'read': .github/workflows/release-operator.yml:638","Warn: no topLevel permission defined: .github/workflows/pr-operator.yml:1","Warn: no topLevel permission defined: .github/workflows/release-operator.yml:1","Info: topLevel permissions set to 'read-all': .github/workflows/scorecard.yml:18","Info: topLevel permissions set to 'read-all': .github/workflows/test-group-sync-operator.yaml:8","Info: topLevel permissions set to 'read-all': .github/workflows/test-namespace-configuration-operator.yaml:8","Info: topLevel permissions set to 'read-all': .github/workflows/test-patch-operator.yaml:8","Info: topLevel permissions set to 'read-all': .github/workflows/test-vault-config-operator.yaml:8","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#dangerous-workflow"}},{"name":"Pinned-Dependencies","score":10,"reason":"all dependencies are pinned","details":["Info:  86 out of  86 GitHub-owned GitHubAction dependencies pinned","Info:  35 out of  35 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#pinned-dependencies"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#license"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#sast"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#signed-releases"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#packaging"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#branch-protection"}},{"name":"Contributors","score":6,"reason":"project has 2 contributing companies or organizations -- score normalized to 6","details":["Info: found contributions from: RedHatEMEA, red hat"],"documentation":{"short":"Determines if the project has a set of contributors from multiple organizations (e.g., companies).","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#contributors"}},{"name":"CI-Tests","score":10,"reason":"16 out of 16 merged PRs checked by a CI test -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project runs tests before pull requests are merged.","url":"https://github.com/ossf/scorecard/blob/cd152cb6742c5b8f2f3d2b5193b41d9c50905198/docs/checks.md#ci-tests"}}]},"last_synced_at":"2025-08-28T06:53:15.526Z","repository_id":40467364,"created_at":"2025-08-28T06:53:15.536Z","updated_at":"2025-08-28T06:53:15.536Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278391186,"owners_count":25978945,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-04T02:00:05.491Z","response_time":63,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["container-cop"],"created_at":"2024-11-13T23:31:44.424Z","updated_at":"2025-10-04T23:56:03.364Z","avatar_url":"https://github.com/redhat-cop.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Github Workflows for Operator Development\n## About This Repository\nThis repoisitory contains work-in-progress example reusable Github Actions Workflows for Opeartor deployment and git-ops release to OLM (Operator Lifecycle Manager) Community Operators.\n## Workflows \n### Release Operator \n#### About This  Workflow \nThis workflow allows a caller repositiory following a common structure to build the operator, bundle, helm charts, and release to OpeatorHub via Github Fork PR request process.\n#### Requirements \n* Fork of ```redhat-openshift-ecosystem/community-operators-prod``` created by ```PR_ACTOR``` for PR release process.\n* Github branch ```gh-pages``` on caller-repo for Github Pages Helm Chart Hosting\n##### Caller (Operator Repo) Configuration \n* Operator Dockerfile located at ```./Dockerfile``` in root of Repository\n* Bundle Dockerfile located at ```./bundle.Dockerfile``` in root of Repository\n##### Caller (Operator Repo) Github Repository Secrets\n* COMMUNITY_OPERATOR_PAT - (Required) 'Github PAT Token for Community Operator Fork Git Operations'\n* REGISTRY_USERNAME - (Required) Username for registry\n* REGISTRY_PASSWORD - (Required) Password for registry\n* OPERATOR_IMAGE_REPOSITORY - (Optonal) 'Registry image e.g. quay.io/redhat-cop/repository-name' will default to ```quay.io/github.repo.owner/repo.name```\n* BUNDLE_IMAGE_REPOSITORY - (Optional) 'Registry image e.g. quay.io/redhat-cop/repository-name' will default to ```quay.io/github.repo.owner/repo.name```\n\n##### Caller (Operator Repo) Workflow Inputs\n* OPERATOR_SDK_VERSION - (Optional string) Verison of Operator SDK for installation.\n* BUILD_PLATFORMS - (Optional string) Defaults to ```linux/amd64,linux/arm64,linux/ppc64le``` comma seperated list of ```os/arch``` build targets.\n* PR_ACTOR - (Optional string) Email address tied to Github Account for Pull Requests\n* RUN_UNIT_TESTS - (Optional boolean) Defaults to ```false```. If true, runs unit tests in the test-operator step by running the *test* target in the Makefile.\n* RUN_INTEGRATION_TESTS - (Optional boolean) Defaults to ```false```. If true, runs integration tests in the test-operator step by running the *integration* target in the Makefile. If both `RUN_UNIT_TESTS` and `RUN_INTEGRATION_TESTS` are true, the unit tests will run first.\n* RUN_HELMCHART_TEST - (Optional boolean) Defaults to ```false```. If true, runs the helm chart test deployment by running the *helmchart-test* target in the Makefile.\n\n#### Calling this Workflow - Job Examples:\n\nExample PR workflow in your ooperator's `.gihub/workflows/pr-operator.yml` file...\n\n```yaml \nname: pull request\non:\n  pull_request:\n    branches:\n      - master\n      - main\n\njobs:\n  shared-operator-workflow:\n    name: shared-operator-workflow\n    uses: redhat-cop/github-workflows-operators/.github/workflows/pr-operator.yml@main\n    with: \n      RUN_UNIT_TESTS: true\n      RUN_INTEGRATION_TESTS: true\n      RUN_HELMCHART_TEST: true\n```\n\nExample release workflow in your operator's `.gihub/workflows/release-operator.yml` file...\n\n```yaml\nname: push\non:\n  push:\n    branches:\n      - main\n      - master\n    tags:\n      - v*\n\njobs:\n  shared-operator-workflow:\n    name: shared-operator-workflow\n    uses: redhat-cop/github-workflows-operators/.github/workflows/release-operator.yml@main    \n    secrets:\n      COMMUNITY_OPERATOR_PAT: ${{ secrets.COMMUNITY_OPERATOR_PAT }}\n      REGISTRY_USERNAME: ${{ secrets.REGISTRY_USERNAME }}\n      REGISTRY_PASSWORD: ${{ secrets.REGISTRY_PASSWORD }}\n    with:\n      PR_ACTOR: \"raffaele.spazzoli@gmail.com\"\n      RUN_UNIT_TESTS: true\n      RUN_INTEGRATION_TESTS: true\n      RUN_HELMCHART_TEST: true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Fgithub-workflows-operators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fredhat-cop%2Fgithub-workflows-operators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fredhat-cop%2Fgithub-workflows-operators/lists"}