Skip to content

Commit

Permalink
Rename GitHub Action file extensions from .yaml to .yml for consistency
Browse files Browse the repository at this point in the history
+ Run Prettier
+ Fix typo on CHANGELOG
  • Loading branch information
coliff committed Dec 5, 2023
1 parent 2789ddb commit 20ab291
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ included in the project:
```

10. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.
with a clear title and description.

**IMPORTANT**: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the [MIT License](LICENSE.txt).
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: publish
on:
push:
tags:
- 'v*'
- "v*"

permissions:
contents: read

jobs:
build:
permissions:
contents: write # for actions/create-release to create a release
contents: write # for actions/create-release to create a release
name: Upload Release Asset
runs-on: ubuntu-latest
steps:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Push to template repository

on:
push:
branches: [ main ]
branches: [main]

permissions:
contents: read
Expand All @@ -25,20 +25,19 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
node-version: "lts/*"
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
run: npm run build
- name: Pushes to another repository
uses: cpina/github-action-push-to-another-repository@main
env:
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }}
with:
source-directory: 'dist'
destination-github-username: 'h5bp'
destination-repository-name: 'html5-boilerplate-template'
user-name: 'roblarsen'
source-directory: "dist"
destination-github-username: "h5bp"
destination-repository-name: "html5-boilerplate-template"
user-name: "roblarsen"
user-email: [email protected]
commit-message: "The latest and greatest from HTML5 Boilerplate"

File renamed without changes.
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
- Farewell Internet Explorer! [#2773](https://github.com/h5bp/html5-boilerplate/issues/2773)
- Remove apache-server-configs/.htaccess [#2779](https://github.com/h5bp/html5-boilerplate/pull/2779)
- Moving docs out of src and dist [#2655](https://github.com/h5bp/html5-boilerplate/pull/2655)
- Replace Parcel with Webpack [#2641](https://github.com/h5bp/html5-boilerplate/pull/2641)
- Add SVG Favicon [#2554](https://github.com/h5bp/html5-boilerplate/issues/2554)
- Remove Google Analytics [#2547](https://github.com/h5bp/html5-boilerplate/issues/2547)
- Replace Parcel with Webpack [#2641](https://github.com/h5bp/html5-boilerplate/pull/2641)
- Add SVG Favicon [#2554](https://github.com/h5bp/html5-boilerplate/issues/2554)
- Remove Google Analytics [#2547](https://github.com/h5bp/html5-boilerplate/issues/2547)
- Rename master branch to main [#2583](https://github.com/h5bp/html5-boilerplate/issues/2583)
- Remove humans.txt [#2584](https://github.com/h5bp/html5-boilerplate/pull/2584)
- Add a templte repository [#2391](https://github.com/h5bp/html5-boilerplate/pull/2391)
- Remove plugins js [#2346](https://github.com/h5bp/html5-boilerplate/pull/2346)
- Add a template repository [#2391](https://github.com/h5bp/html5-boilerplate/pull/2391)
- Remove plugins js [#2346](https://github.com/h5bp/html5-boilerplate/pull/2346)
- Rename CSS file [#2342](https://github.com/h5bp/html5-boilerplate/pull/2342) and JS file [#2341](https://github.com/h5bp/html5-boilerplate/pull/2341)

## 8.0.0 (June 04, 2020)
Expand Down
8 changes: 4 additions & 4 deletions docs/about-this-repo.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ of our `.github` folder.
### .github Folder

- workflows
- `build-dist.yaml` is currently broken. We can't push to `main` without a
- `build-dist.yml` is currently broken. We can't push to `main` without a
code review, so this task is blocked. What I would like, (are you there,
GitHub, it's me, Rob) is to allow Actions to bypass branch protection
rules. I think we'll have to basically write a mini-bot that opens a PR
Expand All @@ -91,13 +91,13 @@ of our `.github` folder.
the settings for this job.
- `dependency-review.yml` does what it says on the tin- it tests newly
introduced dependencies for vulnerabilities.
- `publish.yaml` is the action that publishes all the various versions of
- `publish.yml` is the action that publishes all the various versions of
the project. When we create a new tag and push it to GitHub, this script
publishes our npm package and creates a GitHub release and attaches a zip
file of our `dist` folder.
- `push-to-template.yaml` 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.
- `test.yaml` runs our test suite.
- `test.yml` runs our test suite.
- `CODE_OF_CONDUCT.md` is our Code of Conduct, based on
[Contributor Covenant.](https://www.contributor-covenant.org/)
- `CONTRIBUTING.md` contains our contribution guidelines.
Expand Down

0 comments on commit 20ab291

Please sign in to comment.