-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #865 from TimRudy/PR865
Fix incorrect HTML <input> tag
- Loading branch information
Showing
36 changed files
with
1,521 additions
and
1,185 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
name: Prettier hook for PRs | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, closed] | ||
branches: [develop, master] | ||
push: | ||
branches: [develop, master] | ||
|
||
jobs: | ||
ci-pr: | ||
# Run on any change from PR or direct push, but don't run on a cancel PR | ||
if: github.event_name != 'pull_request' || ( | ||
github.event.action == 'opened' || | ||
github.event.action == 'synchronize' || | ||
github.event.action == 'reopened' && github.event.before != github.event.after || | ||
github.event.action == 'closed' && github.event.pull_request.merged == true | ||
) | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Use Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: "latest" | ||
cache: "npm" | ||
|
||
- name: Install dependencies | ||
run: npm ci | ||
|
||
- name: Confirm code format | ||
run: npm prettier | ||
|
||
- name: Commit changes | ||
run: | | ||
git config --global user.name "maria[bot]" | ||
git config --global user.email "maria[bot]@users.noreply.github.com" | ||
git add . | ||
git commit -m "Auto-format code with prettier" || echo "No changes to commit" | ||
git push | ||
ci-close-pr: | ||
# Run on a cancel PR | ||
if: github.event_name == 'pull_request' && github.event.pull_request.merged == false | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Just report closed, nothing to do | ||
run: | | ||
echo PR #${{ github.event.number }} has been closed, not merged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
resources/libs/vendor/ | ||
resources/fonts/ | ||
*.md | ||
icerok/vendor/sweetalert2.min.js | ||
icerok/css/*.min.css | ||
Gruntfile.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"quoteProps": "consistent", | ||
"trailingComma": "es5" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.