{"id":38771582,"url":"https://github.com/a-was/scp-files-action","last_synced_at":"2026-01-17T12:07:31.273Z","repository":{"id":65158663,"uuid":"315907339","full_name":"a-was/scp-files-action","owner":"a-was","description":"GitHub action that copy files from repo to remote server","archived":false,"fork":false,"pushed_at":"2020-11-26T12:07:21.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-21T22:25:53.484Z","etag":null,"topics":["deployment","github-actions","scp"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/scp-files-action","language":"Shell","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/a-was.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}},"created_at":"2020-11-25T10:40:34.000Z","updated_at":"2020-11-26T12:06:58.000Z","dependencies_parsed_at":"2023-01-05T04:50:52.046Z","dependency_job_id":null,"html_url":"https://github.com/a-was/scp-files-action","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"5a4fdc057ce4e21ca5c9dd69ea67bb1375240fe2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/a-was/scp-files-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-was%2Fscp-files-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-was%2Fscp-files-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-was%2Fscp-files-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-was%2Fscp-files-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/a-was","download_url":"https://codeload.github.com/a-was/scp-files-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/a-was%2Fscp-files-action/sbom","scorecard":{"id":157932,"data":{"date":"2025-08-11","repo":{"name":"github.com/a-was/scp-files-action","commit":"5a4fdc057ce4e21ca5c9dd69ea67bb1375240fe2"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"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":"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":"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":"Code-Review","score":0,"reason":"Found 0/11 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":"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":"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":"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":"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":"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/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"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":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: containerImage not pinned by hash: Dockerfile:1: pin your Docker image by updating alpine:3.12 to alpine:3.12@sha256:c75ac27b49326926b803b9ed43bf088bc220d22556de1bc5f72d742c91398f69","Info:   0 out of   1 containerImage 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":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for 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"}}]},"last_synced_at":"2025-08-16T12:24:28.838Z","repository_id":65158663,"created_at":"2025-08-16T12:24:28.838Z","updated_at":"2025-08-16T12:24:28.838Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28508464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-17T11:50:55.898Z","status":"ssl_error","status_checked_at":"2026-01-17T11:50:55.569Z","response_time":85,"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":["deployment","github-actions","scp"],"created_at":"2026-01-17T12:07:26.314Z","updated_at":"2026-01-17T12:07:31.264Z","avatar_url":"https://github.com/a-was.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCP Files Action\n\nSecure copy files from repo to remote server\n\n# Usage\n\n## Simple\n\n```yaml\nscp-files-job:\n  runs-on: ubuntu-latest\n  steps:\n    - uses: actions/checkout@v2\n    - uses: a-was/scp-action@v1\n      with:\n        host: ${{ secrets.REMOTE_HOST }}\n        user: ${{ secrets.REMOTE_USER }}\n        key: ${{ secrets.SSH_PRIVATE_KEY }}\n        destination: '~/github/'\n```\n\n## Full\n\n`.github/workflows/scp.yaml`\n\n```yaml\nname: SCP Files Action\n\non:\n  push:\n    branches: [ master ]\n\njobs:\n  scp-files-job:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/checkout@v2\n      - uses: a-was/scp-action@v1\n        with:\n          # Remote host\n          host: ${{ secrets.REMOTE_HOST }}\n          # Remote host SSH port. Default 22\n          port: 2222\n          # Remote host user\n          user: ${{ secrets.REMOTE_HOST }}\n          # SSH private key\n          key: ${{ secrets.SSH_PRIVATE_KEY }}\n          # Repo directory path. Default whole repo\n          source: 'dist/*'\n          # Remote directory path. Default home directory (~/)\n          destination: '/home/user/github/'\n```\n\n# How `source` and `destination` works\n\nDefault action will copy whole repo, so if you have repo called `project`\nyou will have `project/` directory on remote server with all files.\n\n\nIf you want to copy whole repo, but also remote directory named differently\nthan repo name, you have to set `source` to `\"$(pwd)/*\"`, and `destination`\nto your directory path, ex. `/home/user/myProject/`.\nOn remote server you will have `myProject` directory with `project` repo content.\n```yaml\nsource: \"$(pwd)/*\"\ndestination: /home/user/myProject/\n```\nNote that `./*` won't work!\n\n\nIf you want to copy only one repo directory with its name,\nex. `myFiles/`, you can set `source` to `myFiles/`.\nOn remote server you will have `myFiles/` directory with its content.\n\n\nIf you want to copy files from specific directory,\nex. `dist/`, you can set `source` to `dist/*`.\nOn remote server you will have your files in specified in `destination` directory.\n\nEx. some website project\n```yaml\nsource: dist/*\ndestination: /var/www/\n```\n\n# Changelog\n\n## [v1.0.0] - 2020.11.26\n- First release\n\n# License\n\nMIT, see LICENSE for more details\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-was%2Fscp-files-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fa-was%2Fscp-files-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fa-was%2Fscp-files-action/lists"}