forked from fork-commit-merge/fork-commit-merge
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bc03d3d
commit fa50632
Showing
2 changed files
with
23 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,28 +12,28 @@ on: | |
- opened | ||
|
||
jobs: | ||
auto-revert: | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event_name == 'pull_request_target' && | ||
github.event.pull_request.merged == true && | ||
github.event.pull_request.user.login != 'dependabot[bot]' && | ||
github.event.pull_request.user.login != 'nikohoffren' && | ||
github.event.pull_request.user.login != 'dependabot-preview[bot]' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
ref: main | ||
token: ${{ secrets.REPO_PAT }} | ||
fetch-depth: 0 | ||
|
||
- name: Revert merge commit | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
git revert -m 1 HEAD | ||
git push origin main | ||
# auto-revert: | ||
# runs-on: ubuntu-latest | ||
# if: | | ||
# github.event_name == 'pull_request_target' && | ||
# github.event.pull_request.merged == true && | ||
# github.event.pull_request.user.login != 'dependabot[bot]' && | ||
# github.event.pull_request.user.login != 'nikohoffren' && | ||
# github.event.pull_request.user.login != 'dependabot-preview[bot]' | ||
# steps: | ||
# - name: Checkout code | ||
# uses: actions/checkout@v2 | ||
# with: | ||
# ref: main | ||
# token: ${{ secrets.REPO_PAT }} | ||
# fetch-depth: 0 | ||
|
||
# - name: Revert merge commit | ||
# run: | | ||
# git config --global user.email "[email protected]" | ||
# git config --global user.name "GitHub Action" | ||
# git revert -m 1 HEAD | ||
# git push origin main | ||
|
||
comment: | ||
runs-on: ubuntu-latest | ||
|
@@ -67,7 +67,7 @@ jobs: | |
I look forward to seeing your contributions!" | ||
add-contributor-to-readme: | ||
needs: auto-revert | ||
# needs: auto-revert | ||
runs-on: ubuntu-latest | ||
if: | | ||
github.event_name == 'pull_request_target' && | ||
|
Binary file not shown.