{"id":21491644,"url":"https://github.com/impresscms-dev/prefix-or-suffix-text-files-action","last_synced_at":"2026-01-04T07:15:52.890Z","repository":{"id":37010418,"uuid":"505054087","full_name":"impresscms-dev/prefix-or-suffix-text-files-action","owner":"impresscms-dev","description":"GitHub action to prefix or suffix text to files in selected folder","archived":false,"fork":false,"pushed_at":"2025-10-01T17:20:53.000Z","size":737,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-01T19:05:27.194Z","etag":null,"topics":["github-actions","hacktoberfest","markdown","prefix","suffix"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/impresscms-dev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2022-06-19T08:35:58.000Z","updated_at":"2025-10-01T17:20:56.000Z","dependencies_parsed_at":"2023-01-17T12:58:21.623Z","dependency_job_id":"5f0ed9a8-4223-4b2f-8716-9f92d1e3ef4e","html_url":"https://github.com/impresscms-dev/prefix-or-suffix-text-files-action","commit_stats":{"total_commits":84,"total_committers":3,"mean_commits":28.0,"dds":0.25,"last_synced_commit":"d85b31101f82520fbc5712f3120058930d9700bc"},"previous_names":[],"tags_count":23,"template":false,"template_full_name":null,"purl":"pkg:github/impresscms-dev/prefix-or-suffix-text-files-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impresscms-dev%2Fprefix-or-suffix-text-files-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impresscms-dev%2Fprefix-or-suffix-text-files-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impresscms-dev%2Fprefix-or-suffix-text-files-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impresscms-dev%2Fprefix-or-suffix-text-files-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/impresscms-dev","download_url":"https://codeload.github.com/impresscms-dev/prefix-or-suffix-text-files-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/impresscms-dev%2Fprefix-or-suffix-text-files-action/sbom","scorecard":{"id":486238,"data":{"date":"2025-08-11","repo":{"name":"github.com/impresscms-dev/prefix-or-suffix-text-files-action","commit":"042cd843af311b478cd2233fff0f3869d0067a88"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.9,"checks":[{"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":"Maintained","score":10,"reason":"26 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":-1,"reason":"Found no human activity in the last 15 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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/autocommit.yml:13","Warn: no topLevel permission defined: .github/workflows/autorelease.yml:1","Warn: no topLevel permission defined: .github/workflows/dependabot.yml:1","Warn: topLevel 'contents' permission set to 'write': .github/workflows/test.yml:14","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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autocommit.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/autocommit.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/autocommit.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/autocommit.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/autocommit.yml:58: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/autocommit.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/autorelease.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/autorelease.yml/main?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/dependabot.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/dependabot.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/dependabot.yml:28: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/dependabot.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:39: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/test.yml/main?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/test.yml:42: update your workflow using https://app.stepsecurity.io/secureworkflow/impresscms-dev/prefix-or-suffix-text-files-action/test.yml/main?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/autocommit.yml:53","Warn: npmCommand not pinned by hash: .github/workflows/test.yml:49","Info:   0 out of   5 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   3 third-party GitHubAction dependencies pinned","Info:   0 out of   2 npmCommand 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/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":"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":"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":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"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":5,"reason":"branch protection is not maximal on development and all release branches","details":["Info: 'allow deletion' disabled on branch 'main'","Info: 'force pushes' disabled on branch 'main'","Warn: 'branch protection settings apply to administrators' is disabled on branch 'main'","Warn: 'stale review dismissal' is disabled on branch 'main'","Warn: required approving review count is 1 on branch 'main'","Warn: codeowners review is not required on branch 'main'","Warn: 'last push approval' is disabled on branch 'main'","Warn: no status checks found to merge onto branch 'main'","Info: PRs are required in order to make changes on branch 'main'"],"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":"SAST","score":10,"reason":"SAST tool is run on all commits","details":["Info: all commits (30) are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":9,"reason":"1 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw"],"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-19T17:53:01.813Z","repository_id":37010418,"created_at":"2025-08-19T17:53:01.813Z","updated_at":"2025-08-19T17:53:01.813Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003185,"owners_count":26083533,"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-10T02:00:06.843Z","response_time":62,"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":["github-actions","hacktoberfest","markdown","prefix","suffix"],"created_at":"2024-11-23T15:17:14.175Z","updated_at":"2025-10-10T07:37:46.056Z","avatar_url":"https://github.com/impresscms-dev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![License](https://img.shields.io/github/license/impresscms-dev/prefix-or-suffix-text-files-action.svg)](LICENSE)\n[![GitHub release](https://img.shields.io/github/release/impresscms-dev/prefix-or-suffix-text-files-action.svg)](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/releases)\n\n# Prefix or Suffix Text files\n\nA GitHub Action that adds text to the beginning (prefix) or end (suffix) of files within a specified directory.\n\n## Usage\n\nTo use this action in your project, create workflow in your project similar to this code (Note: some parts and arguments needs to be altered):\n```yaml\nname: Generate documentation\n\non:\n  push:\n\njobs:\n  get_php_classes_list:\n    runs-on: ubuntu-latest\n    steps:\n      - name: Checkouting project code...\n        uses: actions/checkout@v4\n\n      - name: Install PHP\n        uses: shivammathur/setup-php@v2\n        with:\n          php-version: 8.1\n          extensions: curl, gd, pdo_mysql, json, mbstring, pcre, session\n          ini-values: post_max_size=256M\n          coverage: none\n          tools: composer:v2\n\n      - name: Install Composer dependencies (with dev)\n        run: composer install --no-progress --no-suggest --prefer-dist --optimize-autoloader\n\n      - name: Generating documentation...\n        uses: impresscms-dev/generate-phpdocs-with-clean-phpdoc-md-action@v0.1.4\n        with:\n          class_root_namespace: ImpressCMS\\\n          included_classes: ImpressCMS\\**\n          output_path: ./docs/\n\n      - name: Prefixing docs...\n        uses: impresscms-dev/prefix-or-suffix-text-files-action@v2.0.0\n        with:\n          path: ./docs/\n          text: |\n            This is a test!\n          suffix: false\n\n      - uses: actions/upload-artifact@v4\n        with:\n          name: my-artifact\n          path: ./docs/\n```\n\n## Arguments\n\nThis action accepts the following parameters in the workflow file (specified under the `with` keyword):\n\n| Argument    | Required | Default value        | Description                       |\n|-------------|----------|----------------------|-----------------------------------|\n| path | Yes      |                      | Where to look for files to do operation |\n| text | Yes      |                      | Text to use for the operation |\n| suffix | No      | false               | If is set to true, this action will suffix files with selected text, otherwise will prefix |\n\n## How to contribute?\n\nContributions to this project are welcome and appreciated! Here's how you can help:\n\n### Reporting Issues\n- If you find a bug or have a suggestion for improvement, please use the [issues tab](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/issues)\n- Provide as much detail as possible including steps to reproduce, expected behavior, and actual behavior\n- Use the [bug report template](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/issues/new?template=bug_report.md) when reporting bugs\n\n### Submitting Changes\n1. **Fork the repository** to your GitHub account by clicking the [Fork button](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/fork)\n2. **Clone your fork** to your local machine: `git clone https://github.com/YOUR-USERNAME/prefix-or-suffix-text-files-action.git`\n3. **Create a new branch** for your changes: `git checkout -b feature/your-feature-name`\n4. **Make your changes** and test them thoroughly\n5. **Commit your changes** with clear, descriptive commit messages\n6. **Push to your fork**: `git push origin feature/your-feature-name`\n7. **Create a pull request** by navigating to the [Pull requests tab](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/pulls) and clicking \"New pull request\"\n\n### Development Guidelines\n- Follow the existing code style and patterns\n- Add appropriate tests for your changes\n- Update documentation as needed\n- Make sure all tests pass before submitting your pull request\n\n### Getting Started\nIf you're new to GitHub or open source contributions, check out these resources:\n- [GitHub's Fork \u0026 Pull workflow guide](https://docs.github.com/en/get-started/quickstart/fork-a-repo)\n- [How to Contribute to Open Source](https://opensource.guide/how-to-contribute/)\n\n### Questions?\nIf you have any questions about contributing, feel free to:\n- Ask in the [issues section](https://github.com/impresscms-dev/prefix-or-suffix-text-files-action/issues) for specific problems\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimpresscms-dev%2Fprefix-or-suffix-text-files-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimpresscms-dev%2Fprefix-or-suffix-text-files-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimpresscms-dev%2Fprefix-or-suffix-text-files-action/lists"}