{"id":19292224,"url":"https://github.com/nasa-pds/git-ping","last_synced_at":"2026-05-02T08:34:49.521Z","repository":{"id":82584446,"uuid":"287305105","full_name":"NASA-PDS/git-ping","owner":"NASA-PDS","description":"An action for GitHub Actions that \"pings\" a repository by doing an \"empty-commit\" to it, developed by the PDS Engineering Node.","archived":false,"fork":false,"pushed_at":"2021-07-24T00:03:58.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-24T00:18:04.717Z","etag":null,"topics":["action","github","pds"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","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/NASA-PDS.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","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":"2020-08-13T14:41:39.000Z","updated_at":"2021-07-24T00:04:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"d4c90942-8de7-4a58-acf4-7544ad5d7409","html_url":"https://github.com/NASA-PDS/git-ping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NASA-PDS/git-ping","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASA-PDS%2Fgit-ping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASA-PDS%2Fgit-ping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASA-PDS%2Fgit-ping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASA-PDS%2Fgit-ping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NASA-PDS","download_url":"https://codeload.github.com/NASA-PDS/git-ping/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NASA-PDS%2Fgit-ping/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32528337,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-02T01:12:54.858Z","status":"online","status_checked_at":"2026-05-02T02:00:05.923Z","response_time":132,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["action","github","pds"],"created_at":"2024-11-09T22:29:41.606Z","updated_at":"2026-05-02T08:34:49.505Z","avatar_url":"https://github.com/NASA-PDS.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📡 PDS Engineering Actions: Git Ping\n\nThis is an [action for GitHub](https://github.com/features/actions) that \"pings\" a repository branch by creating an empty commit and pushing to a specified branch. This is typically used to just trigger a GitHub action from another action's workflow.\n\n\n## ℹ️ Using this Action\n\nTo use this action in your own workflow, just provide it `with` the following parameters:\n\n- `repository`: The target repository name, with owner name separated by a slash, such as `nasa-pds/pdsen-corral`.\n- `token`: A GitHub personal access token\n- `branch`: The name of the branch to which to send the empty commit.\n- `message`: The log message to use with the commit.\n\n\n### 👮‍♂️ Personal Access Token\n\nNote that in order to make the \"ping\" or \"empty commit\" to a repository, this action must havea access to repositories. This is afforded by the `token`. To set up such a token:\n\n1. Vist your GitHub account's Settings.\n2. Go to \"Developer Settings\".\n3. Go to \"Personal access tokens\".\n4. Press \"Generate new token\"; authenticate if needed.\n5. Add a note for the token, such as \"PDS Ping Repo Access\"\n6. Check the following scopes:\n    - `repo:status`\n    - `repo_deployment`\n    - `public_repo`\n7. Press \"Generate new token\"\n\nSave the token (a hex string) and install it in your source, **not target**, repository:\n\n1. Visit the source repository's web page on GitHub.\n2. Go to \"Settings\".\n3. Go to \"Secrets\".\n4. Press \"New secret\".\n5. Name the secret, such as `ADMIN_GITHUB_TOKEN`, and insert the token's saved hex string as the value.\n6. Press \"Add secret\".\n\nUse this name in the source's workflow, such as `${{secrets.ADMIN_GITHUB_TOKEN}}`. You should now destroy any saved copies of the token's hex string.\n\n\n## 💁‍♀️ Demonstration\n\nThe following is a brief example how a workflow that shows how this action can be used:\n\n```yaml\nname: 👩‍🏫 Stable Genius Release\non:\n  push:\n    branches:\n      - main\njobs:\n  build:\n    name: 👷‍♀️ Build Job\n    runs-on: ubuntu-latest\n    steps:\n      - name: 💳 Check out the code\n        uses: actions/checkout@v2\n      - name: 🔧 Do something with it\n        uses: …\n      - name: 📡 Ping the PDS Engineering Corral\n        uses: NASA-PDS/git-ping@main\n        with:\n          repository: nasa-pds/pdsen-corral\n          token: ${{secrets.ADMIN_GITHUB_TOKEN}}\n          branch: main\n          message: Stable Genius service upgraded to ${{github.ref}}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasa-pds%2Fgit-ping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnasa-pds%2Fgit-ping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnasa-pds%2Fgit-ping/lists"}