[actions] Add github context env in label action. (#11926)

This commit is contained in:
Liu Shilong 2022-09-02 14:07:48 +08:00 committed by Ying Xie
parent 25df85670d
commit 9aadc2a9c1

View File

@ -23,6 +23,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: approve
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: |
set -e
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token