chore: fix the generate action by passing the token (#11473)
This commit is contained in:
1 parent
bc02fde236
commit
6b7c447b29
1 file changed
+4
-2
@@ -44,9 +44,11 @@ jobs:
|
|||||||
run: yarn prep
|
run: yarn prep
|
||||||
|
|
||||||
- name: Commit and push changes (if any)
|
- name: Commit and push changes (if any)
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
git config --global user.name "github-actions[bot]"
|
git config --global user.name "Shahed Nasser"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
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
|
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..."
|
echo "Ran prep and generated files, committing and pushing..."
|
||||||
|
|||||||
Reference in new issue
Block a user