{"id":16497183,"url":"https://github.com/guillaumefalourd/ritchie-action-python","last_synced_at":"2025-03-01T14:40:32.087Z","repository":{"id":65157740,"uuid":"352654652","full_name":"GuillaumeFalourd/ritchie-action-python","owner":"GuillaumeFalourd","description":" Ritchie CLI github action for PYTHON 🤖 ","archived":false,"fork":false,"pushed_at":"2021-05-14T14:50:27.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-12T06:07:12.285Z","etag":null,"topics":["github-actions","python","ritchie-cli"],"latest_commit_sha":null,"homepage":"https://ritchiecli.io/","language":"Shell","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":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-03-29T13:32:07.000Z","updated_at":"2021-10-11T16:20:43.000Z","dependencies_parsed_at":"2023-01-04T12:33:33.162Z","dependency_job_id":null,"html_url":"https://github.com/GuillaumeFalourd/ritchie-action-python","commit_stats":{"total_commits":15,"total_committers":1,"mean_commits":15.0,"dds":0.0,"last_synced_commit":"5cc0dcb94a596ff3375f9631eb97ca2e41eabf50"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fritchie-action-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fritchie-action-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fritchie-action-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/GuillaumeFalourd%2Fritchie-action-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/GuillaumeFalourd","download_url":"https://codeload.github.com/GuillaumeFalourd/ritchie-action-python/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":["github-actions","python","ritchie-cli"],"created_at":"2024-10-11T14:38:40.112Z","updated_at":"2025-03-01T14:40:32.065Z","avatar_url":"https://github.com/GuillaumeFalourd.png","language":"Shell","readme":"# ritchie-action-python\n\n\u003ca href=\"https://github.com/search?q=GuillaumeFalourd+ritchie-action-python+path%3A.github%2Fworkflows+language%3AYAML\u0026type=code\" target=\"_blank\" title=\"Public workflows that use this action.\"\u003e\u003cimg src=\"https://img.shields.io/endpoint?url=https%3A%2F%2Fapi-git-master.endbug.vercel.app%2Fapi%2Fgithub-actions%2Fused-by%3Faction%3DGuillaumeFalourd%2Fritchie-action-python%26badge%3Dtrue\" alt=\"Public workflows that use this action.\"\u003e\u003c/a\u003e\n\nThis Github action works for [Ritchie CLI](https://ritchiecli.io/) formulas implemented in **Python**.\n\n[![Action workflow (PUBLIC)](https://github.com/GuillaumeFalourd/ritchie-action-python/actions/workflows/public-repo-demo-workflow.yml/badge.svg)](https://github.com/GuillaumeFalourd/ritchie-action-python/actions/workflows/public-repo-demo-workflow.yml)\n\n[![Action workflow (PRIVATE)](https://github.com/GuillaumeFalourd/ritchie-action-python/actions/workflows/private-repo-demo-workflow.yml/badge.svg)](https://github.com/GuillaumeFalourd/ritchie-action-python/actions/workflows/private-repo-demo-workflow.yml)\n\n## How to use this action?\n\nField | Mandatory | Observation\n------------ | ------------  | -------------\n**rit-repo-url** | YES | Formula repository URL\n**rit-formula-command** | YES | Formula command with input flags\n\n### Executing a formula from a PUBLIC repository\n\n```bash\nname: Action workflow\n\non:\n push:\n workflow_dispatch:\n\njobs:\n  action_job:\n    runs-on: ubuntu-latest\n    name: Ritchie Action\n    steps:\n    - name: Run Ritchie Action Command with PUBLIC repository\n      uses: GuillaumeFalourd/ritchie-action-python@v2.1\n      with:\n        rit-repo-url: https://github.com/ZupIT/ritchie-formulas-demo\n        rit-formula-command: rit demo coffee-python --rit_name=Dennis --rit_coffee_type=espresso --rit_delivery=false\n```\n\n**Where:**\n\n- `rit-repo-url` is the Github formula **public** repository url where the formula is located.\n- `rit-formula-command` is the formula command (with input flags if needed) implemented in python.\n\n### Executing a formula from a PRIVATE repository\n\n```bash\nname: Action workflow\n\non:\n push:\n workflow_dispatch:\n\njobs:\n  action_job:\n    runs-on: ubuntu-latest\n    name: Ritchie Action\n    steps:\n    - name: Run Ritchie Action Command with PRIVATE repository\n      uses: GuillaumeFalourd/ritchie-action-python@v2.1\n      env:\n        CREDENTIAL_GITHUB_USERNAME: ${{ secrets.CREDENTIAL_GITHUB_USERNAME }}\n        CREDENTIAL_GITHUB_TOKEN: ${{ secrets.CREDENTIAL_GITHUB_TOKEN }}\n      with:\n        rit-repo-url: https://github.com/GuillaumeFalourd/formulas-training\n        rit-formula-command: rit python math sum numbers --number_one=1 --number_two=2\n```\n\n**Where:**\n\n- `CREDENTIAL_GITHUB_USERNAME` is the GITHUB USERNAME saved [as a secret](https://docs.github.com/en/actions/reference/encrypted-secrets).\n- `CREDENTIAL_GITHUB_TOKEN` is the [GITHUB PERSONAL ACCESS TOKEN](https://github.com/settings/tokens) with full repository access saved [as a secret](https://docs.github.com/en/actions/reference/encrypted-secrets).\n- `rit-repo-url` is the Github formula **private** repository url where the formula is located.\n- `rit-formula-command` is the formula command (with input flags if needed) implemented in Shell.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fritchie-action-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fguillaumefalourd%2Fritchie-action-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fguillaumefalourd%2Fritchie-action-python/lists"}