{"id":13583443,"url":"https://github.com/ActionCloud/github-raw-url","last_synced_at":"2025-04-06T18:32:20.705Z","repository":{"id":44766950,"uuid":"223132443","full_name":"ActionCloud/github-raw-url","owner":"ActionCloud","description":"Action to convert a normal GitHub url to its corresponding raw url.","archived":false,"fork":false,"pushed_at":"2023-08-09T13:26:48.000Z","size":19,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-25T18:40:28.807Z","etag":null,"topics":["github-actions","github-raw-url","github-utilities"],"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/ActionCloud.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}},"created_at":"2019-11-21T09:05:23.000Z","updated_at":"2023-02-03T22:59:00.000Z","dependencies_parsed_at":"2024-04-08T18:58:06.783Z","dependency_job_id":"565c7b48-9e73-4932-af9d-2bde2ca2c821","html_url":"https://github.com/ActionCloud/github-raw-url","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.125,"last_synced_commit":"19103192fc5f75f2ddfead5840126e62e14e868d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionCloud%2Fgithub-raw-url","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionCloud%2Fgithub-raw-url/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionCloud%2Fgithub-raw-url/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ActionCloud%2Fgithub-raw-url/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ActionCloud","download_url":"https://codeload.github.com/ActionCloud/github-raw-url/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247531231,"owners_count":20953918,"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":["github-actions","github-raw-url","github-utilities"],"created_at":"2024-08-01T15:03:28.988Z","updated_at":"2025-04-06T18:32:19.933Z","avatar_url":"https://github.com/ActionCloud.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# GitHub raw url Action\n\n![](https://github.com/actioncloud/github-raw-url/workflows/Test%20converting/badge.svg)\n\n\nThe [Action](https://github.com/marketplace/actions/github-raw-url) converts a normal GitHub file url to its raw url format.\n\nFor example, the raw url of `https://github.com/actioncloud/github-raw-url/blob/master/index.js` is:\n\n```\nhttps://raw.githubusercontent.com/actioncloud/github-raw-url/master/index.js\n```\n\nThis is the first GitHub Action I created, just take it as another [GitHub Actions: Hello World](https://github.com/actions/hello-world-javascript-action). But it's still useful though you can just write one-line script to do the same conversion job in your workflow configuration.\n\n## Inputs\n\n### `github-url`\n\n**Required** A normal GitHub file url.\n\n## Usage\n\n```yaml\n# in your workflow config file\njobs:\n  my-workflow-job:\n    steps:\n    - name: A previous step\n      id: previous-step\n      uses: \u003can-action\u003e\n    - name: Convert a url\n      id: convert-to-raw-url\n      # or actioncloud/github-raw-url@master\n      uses: actioncloud/github-raw-url@v1\n      with:\n        github-url: ${{ previous-step.outputs.github-url }}\n    - name: Another step\n      uses: \u003canother-action\u003e\n      with:\n        github-raw-url: ${{ convert-to-raw-url.outputs.raw-url }}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FActionCloud%2Fgithub-raw-url","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FActionCloud%2Fgithub-raw-url","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FActionCloud%2Fgithub-raw-url/lists"}