chore: fix the generate action by passing the token (#11473)
This commit is contained in:
6
.github/workflows/generate-doc-files.yml
vendored
6
.github/workflows/generate-doc-files.yml
vendored
@@ -44,9 +44,11 @@ jobs:
|
||||
run: yarn prep
|
||||
|
||||
- name: Commit and push changes (if any)
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --global user.name "Shahed Nasser"
|
||||
git config --global user.email "shahednasser@gmail.com"
|
||||
|
||||
if [[ -n $(git status --porcelain www/apps/book/generated www/apps/book/public www/apps/resources/generated) ]]; then
|
||||
echo "Ran prep and generated files, committing and pushing..."
|
||||
|
||||
Reference in New Issue
Block a user