Skip to content

Bump @mermaid-js/mermaid-cli from 11.1.1 to 11.2.0 #181

Bump @mermaid-js/mermaid-cli from 11.1.1 to 11.2.0

Bump @mermaid-js/mermaid-cli from 11.1.1 to 11.2.0 #181

name: kiirotori-auto-approve
on:
pull_request:
types: [review_requested]
jobs:
approve:
if: ${{ (github.event.sender.login == 'falgon') && (github.event.requested_reviewer.login == 'kiirotori') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: approve
run: |
export GH_CONFIG_DIR=$PWD/.config
mkdir $GH_CONFIG_DIR
echo "${{ secrets.KIIROTORI_GH_CONFIG_HOSTS }}" > $GH_CONFIG_DIR/hosts.yml
echo "${{ secrets.KIIROTORI_GH_CONFIG_CONFIG }}" > $GH_CONFIG_DIR/config.yml
gh pr review $PR_NUM -a -R $AUTHOR/$REPO_NAME
env:
PR_NUM: ${{ github.event.number }}
AUTHOR: ${{ github.event.sender.login }}
REPO_NAME: ${{ github.event.repository.name }}