mirror of
https://github.com/actions/deploy-pages.git
synced 2025-12-08 16:16:16 +00:00
Fix wacky indentation from GitHub UI editor
This commit is contained in:
18
.github/workflows/rebuild-dependabot-prs.yml
vendored
18
.github/workflows/rebuild-dependabot-prs.yml
vendored
@@ -2,8 +2,8 @@ name: Rebuild distributables for Dependabot PRs
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'dependabot/npm**'
|
- 'dependabot/npm**'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: write
|
contents: write
|
||||||
@@ -37,10 +37,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then
|
||||||
echo "Detected uncommitted changes after rebuild in dist folder. Committing..."
|
echo "Detected uncommitted changes after rebuild in dist folder. Committing..."
|
||||||
git add dist/
|
git add dist/
|
||||||
git config --local user.name "github-actions[bot]"
|
git config --local user.name "github-actions[bot]"
|
||||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git commit -m "Update distributables after Dependabot 🤖"
|
git commit -m "Update distributables after Dependabot 🤖"
|
||||||
echo "Pushing branch ${{ github.ref_name }}"
|
echo "Pushing branch ${{ github.ref_name }}"
|
||||||
git push origin ${{ github.ref_name }}
|
git push origin ${{ github.ref_name }}
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user