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:
Christian Oliff
2024-04-24 02:16:32 +09:00
committed by GitHub
parent 90066899f3
commit 07e9dc66b9
8 changed files with 12 additions and 7 deletions

2
.gitattributes vendored
View File

@@ -16,6 +16,8 @@
*.js text eol=lf
*.json text eol=lf
*.md text eol=lf
*.mjs text eol=lf
*.sh text eol=lf
*.txt text eol=lf
*.xml text eol=lf
*.yml text eol=lf

View File

@@ -9,6 +9,7 @@ on:
branches:
- main
- "!dependabot/**"
workflow_dispatch:
jobs:
analyze:
@@ -27,6 +28,7 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: "javascript"
queries: +security-and-quality
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3

View File

@@ -1,4 +1,4 @@
name: publish
name: Publish
on:
push:

View File

@@ -1,5 +1,4 @@
name: Build status
name: Build status (Windows)
on:
push:

View File

@@ -1,4 +1,4 @@
name: Build status
name: Build status (Ubuntu)
on:
push:

View File

@@ -1,14 +1,15 @@
# Changelog
## 9.0.1 (April 11, 2023)
- 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)
- 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)
- 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)
- Removing tile images [#3023](https://github.com/h5bp/html5-boilerplate/pull/3023)
- Add Prettier [#3011](https://github.com/h5bp/html5-boilerplate/pull/3011)
- Remove Modernizr [#3002](https://github.com/h5bp/html5-boilerplate/issues/3002)

View File

@@ -95,7 +95,8 @@ of our `.github` folder.
file of our `dist` folder.
- `push-to-template.yml` pushes the `HEAD` of `main` to our template repo
- `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
[Contributor Covenant.](https://www.contributor-covenant.org/)
- `CONTRIBUTING.md` contains our contribution guidelines.

View File

@@ -107,7 +107,7 @@ gulp.task('copy:misc', () =>
// (other tasks will handle the copying of these files)
`!${dirs.src}/css/main.css`,
`!${dirs.src}/index.html`,
`!**/.DS_Store`
`!**/.DS_Store`,
],
{
encoding: false,