Fix wacky indentation from GitHub UI editor

This commit is contained in:
James M. Greene
2023-02-10 23:08:32 -06:00
committed by GitHub
parent 51ec3f54b3
commit 423b8fadd3

View File

@@ -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