{"id":16497233,"url":"https://github.com/guillaumefalourd/ssh-to-https","last_synced_at":"2026-05-29T23:04:07.131Z","repository":{"id":65157731,"uuid":"419478923","full_name":"GuillaumeFalourd/SSH-to-HTTPS","owner":"GuillaumeFalourd","description":"Github Action to configure git to use HTTPS authentication instead of SSH","archived":false,"fork":false,"pushed_at":"2021-10-20T21:37:50.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"main","last_synced_at":"2024-10-14T09:21:27.239Z","etag":null,"topics":["all-os-supported","config","git","github-action","global"],"latest_commit_sha":null,"homepage":"","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":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-10-20T20:22:59.000Z","updated_at":"2022-01-21T17:21:00.000Z","dependencies_parsed_at":"2023-01-05T04:48:23.200Z","dependency_job_id":null,"html_url":"https://github.com/GuillaumeFalourd/SSH-to-HTTPS","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2FSSH-to-HTTPS","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2FSSH-to-HTTPS/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2FSSH-to-HTTPS/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2FSSH-to-HTTPS/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuillaumeFalourd","download_url":"https://codeload.github.com/GuillaumeFalourd/SSH-to-HTTPS/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241381519,"owners_count":19953749,"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","config","git","github-action","global"],"created_at":"2024-10-11T14:38:51.326Z","updated_at":"2025-11-26T23:01:35.315Z","avatar_url":"https://github.com/GuillaumeFalourd.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# SSH-to-HTTPS\n\n[![Action test on Ubuntu](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/ubuntu-test-action.yml/badge.svg)](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/ubuntu-test-action.yml) [![Action test on MacOS](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/macos-test-action.yml/badge.svg)](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/macos-test-action.yml) [![Action test on Windows](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/windows-test-action.yml/badge.svg)](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/actions/workflows/windows-test-action.yml)\n\nGithub Action to reconfigure git to use HTTPS authentication instead of SSH (which is used by _default_ in the runner configuration).\n\n_Kudos: This action implementation is based [on this comment](https://github.com/actions/setup-node/issues/214#issuecomment-810829250) on the [actions/setup-node](https://github.com/actions/setup-node)._\n\n## 📚 Usage\n\n### Requirements\n\n⚠️    The [`actions/checkout`](https://github.com/marketplace/actions/checkout) is mandatory to use this action, with `persist-credentials: false`.\n\n### Action inputs\n\nField | Mandatory | Observation\n------------ | ------------  | -------------\n**github_token** | NO | [How to create a PAT](https://docs.github.com/en/github/authenticating-to-github/creating-a-personal-access-token)\n\n### Without Github PAT\n\n```yaml\n      - name: Checkout\n        uses: actions/checkout@v2.3.4\n        with:\n          persist-credentials: false\n\n      - name: Reconfigure git to use HTTPS authentication\n        uses: GuillaumeFalourd/SSH-to-HTTPS@v1\n```\n\n### With Github PAT\n\n```yaml\n      - name: Checkout\n        uses: actions/checkout@v2.3.4\n        with:\n          persist-credentials: false\n\n      - name: Reconfigure git to use HTTPS authentication\n        uses: GuillaumeFalourd/SSH-to-HTTPS@v1\n        with:\n          github_token: ${{ secrets.ACCESS_TOKEN }}\n```\n\n_Note: You can use the default `${{ secrets.GITHUB_TOKEN }}` or your PAT with `${{ secrets.ACCESS_TOKEN }}`._\n\n## Eventual security concerns\n\nThere is no difference in terms of transport security, HTTPS and SSH rely on similar underlying crypto.\n\nPersisting your credentials by adding your [secret Personal Access Token (PAT)](https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token) to the global git config does have security implications, but it's the default behavior of the [checkout action](https://github.com/actions/checkout) already (using `persist-credentials: true`) so no security is _\"lost\"_.\n\n_If you don't want the PAT hanging around, run some form of [post-job cleanup](https://github.com/actions/checkout/blob/25a956c84d5dd820d28caab9f86b8d183aeeff3d/src/main.ts#L31)._\n\n## 🤝 Contributing\n\n☞ [Guidelines](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/blob/main/CONTRIBUTING.md)\n\n## 🏅 Licensed\n\n☞ This repository uses the [Apache License 2.0](https://github.com/GuillaumeFalourd/SSH-to-HTTPS/blob/main/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fssh-to-https","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumefalourd%2Fssh-to-https","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fssh-to-https/lists"}