deps: breaking: update @typescript-eslint dependencies #2012
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: Rebase pull requests when master change | |
on: | |
pull_request: | |
types: [labeled] | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: 'Rebase branch on master' | |
steps: | |
- name: 'Checkout repository' | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GITHUB_TOKEN_REPO_WRITE }} | |
- name: 'Rebase one pull request based on master with label' | |
uses: iadvize/actions/rebase-pull-requests@5598823e476f2c2a6c2aa8b13e776708dcb68ec3 | |
with: | |
# we use another token here | |
# because an action in a workflow run can't trigger a new workflow run | |
# with the GITHUB_TOKEN | |
# @see https://help.github.com/en/articles/events-that-trigger-workflows#event-restrictions | |
token: ${{ secrets.GITHUB_TOKEN_REPO_WRITE }} | |
label: 'Action: keep-rebased-then-merge' | |
onlyOnce: true | |