{"id":15452583,"url":"https://github.com/olizilla/do-git-from-action","last_synced_at":"2026-02-01T09:33:13.521Z","repository":{"id":139102168,"uuid":"402432702","full_name":"olizilla/do-git-from-action","owner":"olizilla","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-02T13:58:30.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-07-01T03:49:34.405Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/olizilla.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2021-09-02T13:34:07.000Z","updated_at":"2021-09-02T13:58:15.000Z","dependencies_parsed_at":null,"dependency_job_id":"2b898dac-3487-4de8-92ee-284917002571","html_url":"https://github.com/olizilla/do-git-from-action","commit_stats":{"total_commits":4,"total_committers":2,"mean_commits":2.0,"dds":0.25,"last_synced_commit":"4b8a6717dcbca35e279df1cc9892c9a9ab9f5c0c"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/olizilla/do-git-from-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olizilla%2Fdo-git-from-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olizilla%2Fdo-git-from-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olizilla%2Fdo-git-from-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olizilla%2Fdo-git-from-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/olizilla","download_url":"https://codeload.github.com/olizilla/do-git-from-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/olizilla%2Fdo-git-from-action/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28975259,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-01T08:16:14.655Z","status":"ssl_error","status_checked_at":"2026-02-01T08:06:51.373Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-01T21:48:40.678Z","updated_at":"2026-02-01T09:33:13.503Z","avatar_url":"https://github.com/olizilla.png","language":null,"readme":"# do-git-from-action\n\nexploring how to do git from an github action\n\n## actions/checkout\n\nThe checkout action is already authenticated, so you can do git stuff without fuss\n\n\u003e The auth token is persisted in the local git config. This enables your scripts to run authenticated git commands.\n– https://github.com/actions/checkout#push-a-commit-using-the-built-in-token\n\n## Github CLI\n\nYou can do repo admin via the preauthenticatred Github CLI in an action\n\n\u003e GitHub CLI is preinstalled on all GitHub-hosted runners. For each step that uses GitHub CLI, you must set an environment variable called GITHUB_TOKEN to a token with the required scopes.\n\u003e\n\u003e You can execute any GitHub CLI command. For example, this workflow uses the gh issue comment subcommand to add a comment when an issue is opened.\n– https://docs.github.com/en/actions/guides/using-github-cli-in-workflows\n\n## actions/github-script\n\nYou can write fancy, preauthenticated JavaScripts to do all sorts of things:\n\n\u003e This action makes it easy to quickly write a script in your workflow that uses the GitHub API and the workflow run context.\n```\non:\n  issues:\n    types: [opened]\n\njobs:\n  comment:\n    runs-on: ubuntu-latest\n    steps:\n      - uses: actions/github-script@v4\n        with:\n          script: |\n            github.issues.createComment({\n              issue_number: context.issue.number,\n              owner: context.repo.owner,\n              repo: context.repo.repo,\n              body: '👋 Thanks for reporting!'\n            })\n```\n\u003e Note that github-token is optional in this action, and the input is there in case you need to use a non-default token.\n\u003e By default, github-script will use the token provided to your workflow.\n– https://github.com/actions/github-script","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folizilla%2Fdo-git-from-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folizilla%2Fdo-git-from-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folizilla%2Fdo-git-from-action/lists"}