Skip to content

Verified Commit App

Actions
Commits Files to a Repository Using App Authorization
v1.0.0
Latest
Star (1)

Verified Commit App

This action uses a user-generated app to author commits to a repository

Usage

- uses: henrygriffiths/verified-commit-app@v1
  with:
    app-id: ''
    # Required
    # ID of App

    app-key: ''
    # Required
    # App Private Key (Pem File)

    repository: ''
    # Optional
    # Repository to Commit To (Defaults to ${{ github.repository }})

    baseref: ''
    # Optional
    # Ref to Base Commit Off Of (Defaults to ${{ github.ref }})

    ref: ''
    # Optional
    # Ref to Commit To (Defaults to baseref Input)

    commitmsg: ''
    # Optional
    # Commit Message (Defaults to Empty)

    files: ''
    # Required
    # Files To Commit

Examples

Commit to Current Branch

- uses: henrygriffiths/verified-commit-app@v1
  with:
    app-id: ${{ secrets.app-id }}
    app-key: ${{ secrets.app-key }}
    commitmsg: 'message'
    files: |
      filea.txt
      fileb.txt

Commit to a Different Branch

- uses: henrygriffiths/verified-commit-app@v1
  with:
    app-id: ${{ secrets.app-id }}
    app-key: ${{ secrets.app-key }}
    commitmsg: 'message'
    ref: branch2
    files: |
      filea.txt
      fileb.txt

Commit to a Different Repository

- uses: henrygriffiths/verified-commit-app@v1
  with:
    app-id: ${{ secrets.app-id }}
    app-key: ${{ secrets.app-key }}
    repository: example/example
    baseref: main
    ref: main
    commitmsg: 'message'
    files: |
      filea.txt
      fileb.txt

License

This project is released under the MIT License

Verified Commit App is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.

About

Commits Files to a Repository Using App Authorization
v1.0.0
Latest

Verified Commit App is not certified by GitHub. It is provided by a third-party and is governed by separate terms of service, privacy policy, and support documentation.