[actions] Add github context env in label action. (#11926)
This commit is contained in:
parent
f82c1fd8ae
commit
030de9f26d
2
.github/workflows/label.yml
vendored
2
.github/workflows/label.yml
vendored
@ -23,6 +23,8 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: approve
|
- name: approve
|
||||||
|
env:
|
||||||
|
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
|
echo ${{ secrets.GITHUB_TOKEN }} | gh auth login --with-token
|
||||||
|
Reference in New Issue
Block a user