Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

alter export to respect per-object permissions #1884

alter export to respect per-object permissions

alter export to respect per-object permissions #1884

name: Automatic Rebase
on:
issue_comment:
types: [created]
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' || github.event.comment.author_association == 'COLLABORATOR' || github.event.comment.author_association == 'CONTRIBUTOR')
runs-on: ubuntu-latest
steps:
- name: Checkout the latest code
uses: actions/checkout@v2
with:
token: ${{ secrets.PAT_TOKEN }}
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
- name: Automatic Rebase
uses: cirrus-actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
debug:
runs-on: ubuntu-latest
steps:
- if: github.event.issue.pull_request == ''
run: echo 'Not pull request'
- if: contains(github.event.comment.body, '/rebase')
run: echo 'Comment body contains /rebase'
- if: github.event.comment.author_association == 'COLLABORATOR'
run: echo 'Comment author COLLABORATOR'
- if: github.event.comment.author_association == 'CONTRIBUTOR'
run: echo 'Comment author CONTRIBUTOR'
- if: github.event.comment.author_association == 'FIRST_TIMER'
run: echo 'Comment author FIRST_TIMER'
- if: github.event.comment.author_association == 'FIRST_TIME_CONTRIBUTOR'
run: echo 'Comment author FIRST_TIME_CONTRIBUTOR'
- if: github.event.comment.author_association == 'MANNEQUIN'
run: echo 'Comment author MANNEQUIN'
- if: github.event.comment.author_association == 'MEMBER'
run: echo 'Comment author MEMBER'
- if: github.event.comment.author_association == 'NONE'
run: echo 'Comment author NONE'
- if: github.event.comment.author_association == 'OWNER'
run: echo 'Comment author OWNER'