{"id":16497276,"url":"https://github.com/guillaumefalourd/copy-push-files","last_synced_at":"2026-02-25T09:36:23.035Z","repository":{"id":44551510,"uuid":"444909934","full_name":"GuillaumeFalourd/copy-push-files","owner":"GuillaumeFalourd","description":"GitHub Action to copy \u0026 push contents (files / directory) from a repository to another :octocat:","archived":false,"fork":false,"pushed_at":"2022-02-08T14:03:41.000Z","size":87,"stargazers_count":2,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-14T09:44:08.023Z","etag":null,"topics":["all-os-supported","artifacts","bash","contents","copy","files","github-actions"],"latest_commit_sha":null,"homepage":"https://github.com/marketplace/actions/copy-push-files-action","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/GuillaumeFalourd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-05T18:28:12.000Z","updated_at":"2024-07-17T10:27:10.000Z","dependencies_parsed_at":"2023-01-05T04:48:12.972Z","dependency_job_id":null,"html_url":"https://github.com/GuillaumeFalourd/copy-push-files","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":"GuillaumeFalourd/repo-template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fcopy-push-files","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fcopy-push-files/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fcopy-push-files/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fcopy-push-files/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuillaumeFalourd","download_url":"https://codeload.github.com/GuillaumeFalourd/copy-push-files/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224370116,"owners_count":17299968,"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","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":["all-os-supported","artifacts","bash","contents","copy","files","github-actions"],"created_at":"2024-10-11T14:39:03.881Z","updated_at":"2026-02-25T09:36:18.014Z","avatar_url":"https://github.com/GuillaumeFalourd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Copy \u0026 Push Files action\n\n[![Action test on Ubuntu](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/ubuntu-action-test.yml/badge.svg)](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/ubuntu-action-test.yml) [![Action test on MacOS](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/macos-action-test.yml/badge.svg)](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/macos-action-test.yml) [![Action test on Windows](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/windows-action-test.yml/badge.svg)](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/windows-action-test.yml)\n\n[![Security Pipeline](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/security-pipeline.yml/badge.svg)](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/security-pipeline.yml) [![Gitleaks](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/gitleaks.yml/badge.svg)](https://github.com/GuillaumeFalourd/copy-push-files/actions/workflows/gitleaks.yml)\n\n![](https://user-images.githubusercontent.com/22433243/148292745-102e17fe-9277-46e9-ab52-468be5cf3240.png)\n\n☞ GitHub Action to copy \u0026 push contents (files / directory) from a repository to another :octocat:\n\n_**Note**: This action is supported on **all runners** operating systems (`ubuntu`, `macos`, `windows`)_\n\n* * *\n\n## 📚 Usage\n\n[![Public workflows that use this action.](https://img.shields.io/endpoint?url=https%3A%2F%2Fapi-endbug.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3DGuillaumeFalourd%2Fcopy-push-files%26badge%3Dtrue)](https://github.com/search?o=desc\u0026q=GuillaumeFalourd+copy-push-files+path%3A.github%2Fworkflows+language%3AYAML\u0026s=\u0026type=Code)\n\n### ⚠️ Requirements\n\n- The [`actions/checkout`](https://github.com/marketplace/actions/checkout) is mandatory to use this action, as it will be necessary to access the repository files.\n\n### `1️⃣ Minimal`: Commit and Push with `default` parameters\n\n```yaml\n    steps:\n      - uses: actions/checkout@v2.3.4\n      - uses: GuillaumeFalourd/copy-push-files@v1\n        with:\n          source_files: file1 file2 directory1 directory2/file3\n          remote_repository: https://github.com/\u003cowner\u003e/\u003crepo\u003e\n          access_token: ${{ secrets.ACCESS_TOKEN }}\n```\n\n### `2️⃣ Full`: Commit and Push with `customized` parameters\n\n```yaml\n    steps:\n      - uses: actions/checkout@v2.3.4\n      - uses: GuillaumeFalourd/copy-push-files@v1\n        with:\n          email: ${{ github.actor }}[bot]@users.noreply.github.com\n          name: ${{ github.actor }}\n          commit_message: your_message\n          target_branch: branch_name\n          source_files: file1 file2 directory1 directory2/file3\n          remote_repository: https://github.com/\u003cowner\u003e/\u003crepo\u003e\n          access_token: ${{ secrets.ACCESS_TOKEN }}\n```\n\n* * *\n\n## ▶️ Action Inputs\n\nField | Mandatory | Default Value | Observation\n------------ | ------------  | ------------- | -------------\n**email** | NO | `${{ github.actor }}@users.noreply.github.com` | Github user email \u003cbr/\u003e _e.g: `octocat@github.com`_\n**name** | NO | `${{ github.actor }}` | Github username \u003cbr/\u003e _e.g: `octocat`_\n**commit_message** | NO | `Commit performed using Copy and Push Files action` | Commit message\n**target_branch** | NO | `copy-push-files-branch` | Branch to push the contents on the other repository\n**target_dir** | NO | `repository root` | Directory to push the contents on the other repository\n**source_files** | YES | N/A  | Files to add separated by space \u003cbr/\u003e _e.g: `file1 file2 directory1 directory2/file3`_\n**remote_repository** | YES | N/A | Repository url to push the code \u003cbr/\u003e _e.g: `https://github.com/\u003cowner\u003e/\u003crepo\u003e`_\n**access_token** | YES | N/A | [Personal Access Token](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) is necessary to push to another repository\n\n* * *\n\n## 🤝 Contributing\n\n☞ [Guidelines](https://github.com/GuillaumeFalourd/copy-push-files/blob/main/CONTRIBUTING.md)\n\n## 🏅 Licensed\n\n☞ This repository uses the [Apache License 2.0](https://github.com/GuillaumeFalourd/copy-push-files/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fcopy-push-files","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumefalourd%2Fcopy-push-files","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fcopy-push-files/lists"}