Set Github token to use Github CLI in an action (#2185)

This commit is contained in:
Josh Mock
2024-03-27 09:58:50 -05:00
committed by GitHub
parent 63eb92b42a
commit 38c17fd7f3

View File

@ -42,5 +42,6 @@ jobs:
git config --global user.name "Elastic Machine"
git config --global user.email "elasticmachine@users.noreply.github.com"
- name: Apply patch from stack to serverless
run: |
$GITHUB_WORKSPACE/stack/.github/workflows/serverless-patch.sh
env:
GH_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
run: $GITHUB_WORKSPACE/stack/.github/workflows/serverless-patch.sh