mirror of
https://github.com/h5bp/html5-boilerplate.git
synced 2026-01-08 23:48:02 -05:00
GitHub Actions Tidy-up (#3114)
- Allow CodeQL workflow to be run from GitHub Actions WebUI at any time - Set CodeQL to also check for best practises/code problems (as well as security) - Capitalize Publish GH Action - Change Windows Test workflow for consistent file extension (also means its formatted with Prettier) and remove leading empty linebreak - Run Prettier (maybe we should add this to build script to ensure all code is formatted?) - Change .gitattributes to have LF line-endings for more file types
This commit is contained in:
2
.gitattributes
vendored
2
.gitattributes
vendored
@@ -16,6 +16,8 @@
|
|||||||
*.js text eol=lf
|
*.js text eol=lf
|
||||||
*.json text eol=lf
|
*.json text eol=lf
|
||||||
*.md text eol=lf
|
*.md text eol=lf
|
||||||
|
*.mjs text eol=lf
|
||||||
*.sh text eol=lf
|
*.sh text eol=lf
|
||||||
*.txt text eol=lf
|
*.txt text eol=lf
|
||||||
*.xml text eol=lf
|
*.xml text eol=lf
|
||||||
|
*.yml text eol=lf
|
||||||
|
|||||||
2
.github/workflows/codeql-analysis.yml
vendored
2
.github/workflows/codeql-analysis.yml
vendored
@@ -9,6 +9,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
- "!dependabot/**"
|
- "!dependabot/**"
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
analyze:
|
analyze:
|
||||||
@@ -27,6 +28,7 @@ jobs:
|
|||||||
uses: github/codeql-action/init@v3
|
uses: github/codeql-action/init@v3
|
||||||
with:
|
with:
|
||||||
languages: "javascript"
|
languages: "javascript"
|
||||||
|
queries: +security-and-quality
|
||||||
|
|
||||||
- name: Perform CodeQL Analysis
|
- name: Perform CodeQL Analysis
|
||||||
uses: github/codeql-action/analyze@v3
|
uses: github/codeql-action/analyze@v3
|
||||||
|
|||||||
2
.github/workflows/publish.yml
vendored
2
.github/workflows/publish.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: publish
|
name: Publish
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
|
name: Build status (Windows)
|
||||||
name: Build status
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build status
|
name: Build status (Ubuntu)
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -1,14 +1,15 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
## 9.0.1 (April 11, 2023)
|
## 9.0.1 (April 11, 2023)
|
||||||
|
|
||||||
- Fixed tests on Windows, adds Windows Testing Action [#3110](https://github.com/h5bp/html5-boilerplate/pull/3110)
|
- Fixed tests on Windows, adds Windows Testing Action [#3110](https://github.com/h5bp/html5-boilerplate/pull/3110)
|
||||||
- Add og:image:alt for accessibility [#3066](https://github.com/h5bp/html5-boilerplate/pull/3066)
|
- Add og:image:alt for accessibility [#3066](https://github.com/h5bp/html5-boilerplate/pull/3066)
|
||||||
- Upgrade to Gulp 5 [#3100](https://github.com/h5bp/html5-boilerplate/pull/3100) [#3105](https://github.com/h5bp/html5-boilerplate/pull/3105)
|
- Upgrade to Gulp 5 [#3100](https://github.com/h5bp/html5-boilerplate/pull/3100) [#3105](https://github.com/h5bp/html5-boilerplate/pull/3105)
|
||||||
- ci: Use GITHUB_OUTPUT envvar instead of set-output command [#3068](https://github.com/h5bp/html5-boilerplate/pull/3068)
|
- ci: Use GITHUB_OUTPUT envvar instead of set-output command [#3068](https://github.com/h5bp/html5-boilerplate/pull/3068)
|
||||||
- Readme and Changelog updates [#3055](https://github.com/h5bp/html5-boilerplate/pull/3055) [#3057](https://github.com/h5bp/html5-boilerplate/pull/3057) [#3064](https://github.com/h5bp/html5-boilerplate/pull/3064)
|
- Readme and Changelog updates [#3055](https://github.com/h5bp/html5-boilerplate/pull/3055) [#3057](https://github.com/h5bp/html5-boilerplate/pull/3057) [#3064](https://github.com/h5bp/html5-boilerplate/pull/3064)
|
||||||
|
|
||||||
|
|
||||||
## 9.0.0 (December 6, 2023)
|
## 9.0.0 (December 6, 2023)
|
||||||
|
|
||||||
- Removing tile images [#3023](https://github.com/h5bp/html5-boilerplate/pull/3023)
|
- Removing tile images [#3023](https://github.com/h5bp/html5-boilerplate/pull/3023)
|
||||||
- Add Prettier [#3011](https://github.com/h5bp/html5-boilerplate/pull/3011)
|
- Add Prettier [#3011](https://github.com/h5bp/html5-boilerplate/pull/3011)
|
||||||
- Remove Modernizr [#3002](https://github.com/h5bp/html5-boilerplate/issues/3002)
|
- Remove Modernizr [#3002](https://github.com/h5bp/html5-boilerplate/issues/3002)
|
||||||
|
|||||||
@@ -95,7 +95,8 @@ of our `.github` folder.
|
|||||||
file of our `dist` folder.
|
file of our `dist` folder.
|
||||||
- `push-to-template.yml` pushes the `HEAD` of `main` to our template repo
|
- `push-to-template.yml` pushes the `HEAD` of `main` to our template repo
|
||||||
- `spellcheck.yml` automatically checks markdown files for typos with cSpell.
|
- `spellcheck.yml` automatically checks markdown files for typos with cSpell.
|
||||||
- `test.yml` runs our test suite.
|
- `test.yml` runs our test suite on Ubuntu.
|
||||||
|
- `test-windows.yml` runs our test suite on Windows.
|
||||||
- `CODE_OF_CONDUCT.md` is our Code of Conduct, based on
|
- `CODE_OF_CONDUCT.md` is our Code of Conduct, based on
|
||||||
[Contributor Covenant.](https://www.contributor-covenant.org/)
|
[Contributor Covenant.](https://www.contributor-covenant.org/)
|
||||||
- `CONTRIBUTING.md` contains our contribution guidelines.
|
- `CONTRIBUTING.md` contains our contribution guidelines.
|
||||||
|
|||||||
@@ -107,7 +107,7 @@ gulp.task('copy:misc', () =>
|
|||||||
// (other tasks will handle the copying of these files)
|
// (other tasks will handle the copying of these files)
|
||||||
`!${dirs.src}/css/main.css`,
|
`!${dirs.src}/css/main.css`,
|
||||||
`!${dirs.src}/index.html`,
|
`!${dirs.src}/index.html`,
|
||||||
`!**/.DS_Store`
|
`!**/.DS_Store`,
|
||||||
],
|
],
|
||||||
{
|
{
|
||||||
encoding: false,
|
encoding: false,
|
||||||
|
|||||||
Reference in New Issue
Block a user