fix rebase workflow
This commit is contained in:
parent
32114c1ca8
commit
7095dfe4c8
5
.github/workflows/rebase.yml
vendored
5
.github/workflows/rebase.yml
vendored
@ -5,7 +5,8 @@ on:
|
||||
jobs:
|
||||
rebase:
|
||||
name: Rebase
|
||||
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'OWNER')
|
||||
# ideally "cart" isn't hard coded here, but there is a bug that prevents org-owned repos from properly populating the OWNER enum
|
||||
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/rebase') && (github.event.comment.author_association == 'MEMBER' || github.event.comment.user.login == 'cart')
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout the latest code
|
||||
@ -18,4 +19,4 @@ jobs:
|
||||
# this specific hash was hand-validated by @cart. please validate new action code before updating
|
||||
uses: cirrus-actions/rebase@b08442cca46e2ad6c1f3dd24a3320ece8498df75
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.CART_PAT }}
|
||||
GITHUB_TOKEN: ${{ secrets.CART_PAT }}
|
||||
|
Loading…
Reference in New Issue
Block a user