Skip to content

Bump mathjs from 13.2.0 to 13.2.2 #202

Bump mathjs from 13.2.0 to 13.2.2

Bump mathjs from 13.2.0 to 13.2.2 #202

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 }}