[f48632]: / .github / workflows / main.yml

Download this file

23 lines (21 with data), 502 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Manual Undo Push Action
on:
workflow_dispatch:
inputs:
branch:
description: 'Branch to undo commit'
required: true
default: 'master'
jobs:
Undo:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
- name: Undo Push
uses: exions/undo-push@v1
with:
branch: ${{ github.event.inputs.branch }}