{"id":16006653,"url":"https://github.com/dsanders11/github-app-commit-action","last_synced_at":"2025-06-13T20:04:06.527Z","repository":{"id":224783552,"uuid":"764214685","full_name":"dsanders11/github-app-commit-action","owner":"dsanders11","description":"GitHub Action which makes it simple to make verified Git commits as a GitHub app","archived":false,"fork":false,"pushed_at":"2025-06-10T22:05:41.000Z","size":410,"stargazers_count":5,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-10T23:21:08.262Z","etag":null,"topics":["github-actions","verified-commit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/dsanders11.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-02-27T17:23:23.000Z","updated_at":"2025-06-06T20:08:13.000Z","dependencies_parsed_at":"2024-03-19T23:24:58.739Z","dependency_job_id":"1b1e5e7f-f259-4997-ad1a-4b885111119b","html_url":"https://github.com/dsanders11/github-app-commit-action","commit_stats":null,"previous_names":["dsanders11/github-app-commit-action"],"tags_count":8,"template":false,"template_full_name":"dsanders11/typescript-action","purl":"pkg:github/dsanders11/github-app-commit-action","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsanders11%2Fgithub-app-commit-action","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsanders11%2Fgithub-app-commit-action/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsanders11%2Fgithub-app-commit-action/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsanders11%2Fgithub-app-commit-action/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dsanders11","download_url":"https://codeload.github.com/dsanders11/github-app-commit-action/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dsanders11%2Fgithub-app-commit-action/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259712374,"owners_count":22900034,"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","verified-commit"],"created_at":"2024-10-08T11:43:08.270Z","updated_at":"2025-06-13T20:04:06.494Z","avatar_url":"https://github.com/dsanders11.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GitHub App Commit Action\n\n[![GitHub Super-Linter](https://github.com/dsanders11/github-app-commit-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter)\n[![CI](https://github.com/dsanders11/github-app-commit-action/actions/workflows/ci.yml/badge.svg)](https://github.com/electron/github-app-auth-action/actions/workflows/ci.yml)\n\n\u003e GitHub Action which makes it simple to make verified Git commits as a GitHub\n\u003e app\n\n## Usage\n\n### Authentication\n\nThis action requires a GitHub app installation token. An authentication token\nfor the app can be easily generated in the GitHub Actions workflow using\n[`electron/github-app-auth-action`](https://github.com/electron/github-app-auth-action)\n. The app must have the \"Contents\" (read and write) permission and be installed\non the repository.\n\n### Staging Changes\n\nStage changes for the commit as you normally would, but to commit them use the\naction instead of running `git commit`. The changes to commit will be detected\nautomatically.\n\n### Updating Existing Ref\n\nIf you want to update an existing ref, you should ensure that ref is checked out\nin the current Git checkout (you can use the `ref` input for\n`actions/checkout`). You can force the update using the `force` input.\n\n### Multiple Commits\n\nIf you want to make multiple commits one after the other, be sure to run a\n`git pull` after using the action so that the working tree is up-to-date before\nthe next commit.\n\n### Example\n\n```yaml\njobs:\n  commit-changes:\n    name: Commit changes\n    runs-on: ubuntu-latest\n    steps:\n      - name: Generate GitHub App token\n        uses: electron/github-app-auth-action@v1.1.1\n        id: generate-token\n        with:\n          creds: ${{ secrets.GH_APP_CREDS }}\n      - name: Checkout\n        id: checkout\n        uses: actions/checkout@v4.1.1\n      - name: Stage changes\n        run: |\n          echo 'Hello World' \u003e hello-world.txt\n          git add hello-world.txt\n      - name: Commit\n        uses: dsanders11/github-app-commit-action@v1\n        with:\n          message: 'feat: my changes'\n          token: ${{ steps.generate-token.outputs.token }}\n```\n\n### Inputs\n\n- `fail-on-no-changes` - _(optional)_ Whether or not to set action failure if\n  there are no changes to commit (default: `true`)\n- `force` - _(optional)_ Whether to force the update or to make sure the update\n  is a fast-forward update when updating an existing ref (default: `false`)\n- `message` - **(required)** The commit message\n- `owner` - _(optional)_ The owner of the GitHub repository. Defaults to the\n  owner of the repository this action is running in.\n- `ref` - _(optional)_ Git reference to associate the commit with (e.g. `main`).\n  If it does not exist it will be created. Defaults to the the current checkout\n  ref.\n- `repository` - _(optional)_ The GitHub repository to commit to. Defaults to\n  the repository this action is running in.\n- `token` - **(required)** GitHub App installation access token\n- `working-directory` - _(optional)_ The working directory. Defaults to the\n  current working directory.\n\n### Outputs\n\n- `message` - The commit message\n- `ref` - The associated Git reference\n- `ref-operation` - Which operation was performed on the ref: `created` or\n  `updated`. Has no value if there were no changes to commit.\n- `sha` - SHA for the commit\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsanders11%2Fgithub-app-commit-action","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdsanders11%2Fgithub-app-commit-action","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdsanders11%2Fgithub-app-commit-action/lists"}