checkboxes for selecting multiple tickets within 1 event, with a maximum of one ticket for each ticket #1418
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
name: Automatic Rebase | |
on: | |
issue_comment: | |
types: [created] | |
jobs: | |
rebase: | |
name: Rebase | |
# Ensure it's run only by a member | |
if: ${{ github.event.comment.author_association == 'MEMBER' && github.event.issue.pull_request && contains(github.event.comment.body, '/rebase') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout the latest commit | |
uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.GH_ACTIONS_ACCESS_TOKEN }} | |
fetch-depth: 0 # otherwise, it will fail to push refs to repo | |
- name: Automatic Rebase | |
uses: cirrus-actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GH_ACTIONS_ACCESS_TOKEN }} |