chore: fix various error messages in GitHub Actions

这个提交包含在:
alistair3149 2022-04-27 17:05:35 -04:00
父节点 ae4dc16121
当前提交 5eb212ad53

查看文件

@ -26,22 +26,26 @@ jobs:
# Bypass the phpcbf non-standard exit code
- name: Check PHP
continue-on-error: true
run: |
sh ./bin/phpcbf.sh
composer fix
composer test
- name: Check Javascript
continue-on-error: true
run: |
npm run lint:fix:js
npm run lint:js
- name: Check CSS/LESS
continue-on-error: true
run: |
npm run lint:fix:styles
npm run lint:styles
- name: Check i18n
continue-on-error: true
run: |
npm run lint:i18n
@ -55,11 +59,10 @@ jobs:
git config --global user.name "github-actions"
git config --global user.email "github-actions@users.noreply.github.com"
git remote set-url origin "https://x-access-token:${GITHUB_TOKEN}@github.com/${GITHUB_REPOSITORY}.git"
git checkout -b ${GITHUB_HEAD_REF}
git add .
git commit -am "ci: lint code to MediaWiki standards" -m "Check commit and GitHub actions for more details"
git pull origin ${GITHUB_HEAD_REF} --rebase
git push --set-upstream origin ${GITHUB_HEAD_REF}
git pull --rebase
git push
else
echo "No changes to commit"
fi