mirror of
https://github.com/StarCitizenTools/mediawiki-skins-Citizen.git
synced 2024-11-11 16:48:54 +00:00
chore: fix various error messages in GitHub Actions
This commit is contained in:
parent
ae4dc16121
commit
5eb212ad53
9
.github/workflows/mediawiki.yml
vendored
9
.github/workflows/mediawiki.yml
vendored
|
@ -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
|
Loading…
Reference in a new issue