dark mode work #1160
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
##################################################################################### | |
# Github Action to rebase pull request. | |
# | |
# Workflow starts when pr comment created or edited | |
# | |
# Job will not work if: | |
# 1. Patch branch name is 'master' | |
# 2. There was an updates in github actions in target branch (restriction by github) | |
##################################################################################### | |
on: | |
issue_comment: | |
types: [created, edited] | |
name: Automatic Rebase | |
jobs: | |
rebase: | |
name: Rebase PR | |
if: github.event.issue.pull_request != '' && github.event.comment.body == 'GitHub, rebase' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: khan/pull-request-comment-trigger@master | |
name: React with rocket on run | |
with: | |
trigger: ',' | |
reaction: rocket | |
env: | |
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | |
- run: 'echo We print it here for this action to work' | |
if: 'true' | |
- name: Checkout the latest code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Automatic Rebase | |
uses: cirrus-actions/[email protected] | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |