Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test2 #20

Open
wants to merge 23 commits into
base: auto-rebase
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
32 changes: 32 additions & 0 deletions .github/workflows/rebase.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Automatic Rebase
on:
issue_comment:
types: [created]
permissions:
contents: write
# pull-requests: write
# Enforce other not needed permissions are off
# actions: none
# checks: none
# deployments: none
# issues: none
# #metadata: read
# packages: none
# repository-projects: none
# security-events: none
# statuses: none
jobs:
rebase:
name: Rebase
if: (github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'OWNER') && github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: PastaPastaPasta/rebase@1.5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3 changes: 3 additions & 0 deletions TEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Hello World

Yo2