Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Latest commit

 

History

History
22 lines (15 loc) · 512 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 512 Bytes

GitHub Action to revert a commit via a comment

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

revert

Installation

workflow "Automatic Revert" {
  on = "issue_comment"
  resolves = "Revert"
}

action "Revert" {
  uses = "srt32/revert@master"
  secrets = ["GITHUB_TOKEN"]
}

This Action is heavily inspired by rebase.