{"id":13633008,"url":"https://github.com/marvinscham/get-league-patch","last_synced_at":"2025-04-18T10:33:48.735Z","repository":{"id":50647337,"uuid":"519724993","full_name":"marvinscham/get-league-patch","owner":"marvinscham","description":"An Action to grab the latest League of Legends patch from Data Dragon","archived":false,"fork":false,"pushed_at":"2024-02-29T20:21:37.000Z","size":20,"stargazers_count":3,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T10:48:07.362Z","etag":null,"topics":["action","data-dragon","github-actions","league-of-legends"],"latest_commit_sha":null,"homepage":"","language":null,"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/marvinscham.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2022-07-31T08:55:47.000Z","updated_at":"2025-03-01T06:22:14.000Z","dependencies_parsed_at":"2024-01-05T10:44:08.707Z","dependency_job_id":"cca46b2d-7963-4d90-b1f4-5dd6af402e82","html_url":"https://github.com/marvinscham/get-league-patch","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinscham%2Fget-league-patch","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinscham%2Fget-league-patch/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinscham%2Fget-league-patch/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marvinscham%2Fget-league-patch/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marvinscham","download_url":"https://codeload.github.com/marvinscham/get-league-patch/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249479043,"owners_count":21279184,"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":["action","data-dragon","github-actions","league-of-legends"],"created_at":"2024-08-01T23:00:23.019Z","updated_at":"2025-04-18T10:33:48.504Z","avatar_url":"https://github.com/marvinscham.png","language":null,"funding_links":[],"categories":["DevOps Tools"],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003eGet League Patch [Action]\u003c/h1\u003e\n\u003cdiv align=\"center\"\u003e\n    An Action to grab the latest League of Legends patch from Data Dragon\n\u003c/div\u003e\n\n## Usage\n\nA patch string like `12.1` will be saved to an output variable named `patch`.\n\nThe action will fail if the patch info cannot be retrieved or seems invalid.\n\n## Example\n\nThis will check for a new League Patch every day and create a PR to keep the badge in the `README` file up to date.\n\nNote how the output variable is accessed via `${{ steps.yourStepId.outputs.patch }}`\n\n```yaml\nname: Update League Patch in README\n\non:\n  schedule: [{ cron: '0 0 * * *' }]\n\njobs:\n  update-badge:\n    name: Update League Patch in README\n    runs-on: ubuntu-18.04\n    steps:\n      - uses: actions/checkout@v3\n        name: Check out current commit\n\n      - id: yourStepId\n        name: Get patch info\n        uses: marvinscham/get-league-patch@v1.0.0\n\n        # Replaces patch info with regex\n      - name: Update patch in README shield\n        run: sed -i \"s/league%20patch-.*-brightgreen/league%20patch-${{ steps.yourStepId.outputs.patch }}-brightgreen/g\" README.md\n        shell: bash\n\n      - name: Create Pull Request\n        uses: peter-evans/create-pull-request@v4.0.4\n        with:\n          commit-message: Bump League Patch to ${{ steps.patch.outputs.patch }}\n          title: Bump League Patch to ${{ steps.patch.outputs.patch }}\n          body: This is an automated PR.\n          branch: update-league-patch\n```\n\n_Derived from: [Action YAML](https://github.com/marvinscham/disenchanter/blob/main/.github/workflows/league-patch.yml)/[Repository/README](https://github.com/marvinscham/disenchanter)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinscham%2Fget-league-patch","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarvinscham%2Fget-league-patch","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarvinscham%2Fget-league-patch/lists"}