Khaaz / action-autocommit

Commit changes made to a repo within a CI (example: run a script, then commit and push)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

action-autocommit

This action will commit and push all changes made to the current repo.
With this action you can make changes within a CI and automatically push it to the current branch.

Example of usage:

name: Docgen

on:
  push:
    branches:
    - master

jobs:
  docgen:
    name: Docgen
    runs-on: ubuntu-latest
    steps:
      - name: Checkout repository
        uses: actions/checkout@master

      - name: Install Node v12
        uses: actions/setup-node@master
        with:
          node-version: 12

      - name: Install dependencies
        run: yarn install

      - name: Build docs
        run: yarn install

      - name: Commit and push
        uses: khaazz/action-autocommit@master

About

Commit changes made to a repo within a CI (example: run a script, then commit and push)

License:MIT License


Languages

Language:Shell 62.8%Language:TypeScript 37.2%