[actions] Add github context env in label action. (#11926)
This commit is contained in:
parent
4ab83170a5
commit
f4e50597e2
2
.github/workflows/label.yml
vendored
2
.github/workflows/label.yml
vendored
@ -21,6 +21,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