Skip to content

helm chart直す

helm chart直す #93

Workflow file for this run

name: Approve
on:
pull_request:
types: [labeled]
jobs:
approve:
runs-on: ubuntu-latest
timeout-minutes: 1
if: >-
${{
github.event.label.name == 'Bypass review' &&
github.event.pull_request.user.login == 'na2na-p'
}}
env:
NUMBER: ${{ github.event.number }}
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Generate github token
id: generate_token
uses: actions/[email protected]
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}
- name: Approve
run: gh pr review ${{ env.NUMBER }} --approve
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}