Srt32 Revert Save

A GitHub Action to automatically revert a commit on a '/revert' comment

Project README

GitHub Action to revert a commit via a comment

After installation, comment /revert <commit_sha> to trigger the action.

revert

Installation

name: Automatic Revert

on:
  issue_comment:
    types: [created]

jobs:
  revert-commit:

    runs-on: ubuntu-latest

    if: contains(github.event.comment.body, '/revert')

    steps:
      - name: Checkout latest code
        uses: actions/checkout@v2
      - name: Automatic Revert
        uses: srt32/[email protected]
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

This Action is heavily inspired by rebase.

Open Source Agenda is not affiliated with "Srt32 Revert" Project. README Source: srt32/revert
Stars
101
Open Issues
0
Last Commit
4 years ago
Repository
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating