Skip to content

GitHub action that will commit the result to an input branch

Notifications You must be signed in to change notification settings

pawlarius/action-commit-to-branch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Commit and push to remote branch

This action will commit and push to a specific remote branch.

Inputs

branch

Required The branch name of the branch to commit and push to.

If the branch does not already exist, it will be created for you.

commit_message

Custom commit message. default "Automated commit from action""

Example usage

- name: Push to built branch
  uses: Automattic/action-commit-to-branch@master
  with:
    branch: 'master-built'
    commit_message: 'Build master'
  env:
    GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Required

About

GitHub action that will commit the result to an input branch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 56.1%
  • Dockerfile 43.9%