{"id":15090149,"url":"https://github.com/padupe/action-content-change-validation","last_synced_at":"2026-02-17T22:01:29.682Z","repository":{"id":157652506,"uuid":"627553675","full_name":"padupe/action-content-change-validation","owner":"padupe","description":"Action to validate if the content of a file (or directory) has changed.","archived":false,"fork":false,"pushed_at":"2023-05-15T16:12:12.000Z","size":811,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-26T05:21:12.582Z","etag":null,"topics":["content-security-policy","github-actions","security-automation","validation"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/padupe.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-13T17:52:41.000Z","updated_at":"2023-04-13T18:24:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"f9a80c82-4e25-4316-bf60-a065a1cf5574","html_url":"https://github.com/padupe/action-content-change-validation","commit_stats":{"total_commits":93,"total_committers":1,"mean_commits":93.0,"dds":0.0,"last_synced_commit":"fb19e9b835a1457071dc7bffb926d0686dd6d5ce"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/padupe/action-content-change-validation","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padupe%2Faction-content-change-validation","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padupe%2Faction-content-change-validation/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padupe%2Faction-content-change-validation/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padupe%2Faction-content-change-validation/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/padupe","download_url":"https://codeload.github.com/padupe/action-content-change-validation/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/padupe%2Faction-content-change-validation/sbom","scorecard":{"id":717670,"data":{"date":"2025-08-11","repo":{"name":"github.com/padupe/action-content-change-validation","commit":"fb19e9b835a1457071dc7bffb926d0686dd6d5ce"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.4,"checks":[{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q","Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38","Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T10:13:32.347Z","repository_id":157652506,"created_at":"2025-08-22T10:13:32.347Z","updated_at":"2025-08-22T10:13:32.347Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29559961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T21:50:49.831Z","status":"ssl_error","status_checked_at":"2026-02-17T21:46:15.313Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["content-security-policy","github-actions","security-automation","validation"],"created_at":"2024-09-25T09:22:16.442Z","updated_at":"2026-02-17T22:01:29.663Z","avatar_url":"https://github.com/padupe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# action-content-change-validation\n\n\u003e Documentation available in Portuguese (pt-BR) [here](./docs/README-pt.md).\n\n## Index\n\n- [Description](#description)\n- [Flow](#flow)\n- [Requirements](#requirements)\n  - [GitHub App](#github-app)\n    - [Required Permissions](#required-permissions)\n    - [Secrets](#secrets)\n  - [Personal Access Token (PAT)](#personal-access-token-pat)\n    - [Required Permissions](#required-permissions-1)\n- [Use](#use)\n  - [GitHub App](#github-app-1)\n  - [Personal Access Token (PAT)](#personal-access-token-pat-1)\n- [Output](#output)\n- [Contribute to the Project](#contribute-to-the-project)\n\n## Description\n\nAction to validate if the content of a file (or directory) has changed.\n\nUseful for ensuring that quality and/or safety processes are not accidentally - or not - changed by developers.\n\n## Flow\n\n![](./docs/assets/flow.png)\n\n## Requirements\n\n### [GitHub App](https://docs.github.com/en/apps)\n\n#### Required Permissions:\n\n- Repository\n  - Actions [Read and write]\n  - Commit status [Read and write]\n  - Contents [Read and write]\n  - Pull requests [Read and write]\n\n#### Secrets\n\nSecret `CREDENTIALS_GITHUB_APP_PRIVATE_KEY` on PEM format:\n\n```\n-----BEGIN RSA PRIVATE KEY-----\n  9999999999999999999999999999999999999999999999999999999999999999\n  QQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ\n  ....\n  -----END RSA PRIVATE KEY-----\n```\n\n### Personal Access Token (PAT)\n\n#### Required Permissions\n\n- Repo (Full control of private repositories)\n\n## Use\n\n### GitHub App\n\n1. Create directory `.github/worfklows` in the root of your project;\n\n2. Create file `content-change-validation.yaml` with content similar to the following:\n\n```yaml\nname: Content Change Validation\non:\n  pull_request:\n    types: [opened, reopened, synchronize]\n    branches:\n      - main\n\njobs:\n  content-change-validation:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate Token from GitHub App\n        id: generate-token-github-app\n        uses: padupe/action-generate-token-github-app@1.1.3\n        with:\n          appId: ${{ secrets.CREDENTIALS_GITHUB_APP_ID }}\n          installationId: ${{ secrets.CREDENTIALS_GITHUB_APP_INSTALLATION_ID }}\n          privateKey: ${{ secrets.CREDENTIALS_GITHUB_APP_PRIVATE_KEY }}\n\n      - name: Content Change Validation\n        uses: padupe/action-content-change-validation@1.1.4\n        with:\n          directoryOrFile: .github/workflows\n          gitHubToken: ${{ steps.generate-token-github-app.outputs.gitHubToken }}\n```\n\n### Personal Access Token (PAT)\n\n1. Create directory `.github/worfklows` in the root of your project;\n\n2. Create file `content-change-validation.yaml` with content similar to the following:\n\n```yaml\nname: Content Change Validation\non:\n  pull_request:\n    types: [opened, reopened, synchronize]\n    branches:\n      - main\n\njobs:\n  content-change-validation:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Content Change Validation\n        uses: padupe/action-content-change-validation@1.1.4\n        with:\n          directoryOrFile: .github/workflows\n          gitHubToken: ${{ secrets.PAT_TOKEN }}\n```\n\n## Output\n\nBoolean value.\n\n## Contribute to the Project\n\nCheck our [CONTRIBUTING](./CONTRIBUTING.md) guidelines.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadupe%2Faction-content-change-validation","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpadupe%2Faction-content-change-validation","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpadupe%2Faction-content-change-validation/lists"}