github_pages_rake_tasks 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f8e248fa656b72455a69ec8f23abec745c3d04ffde16bf527fb0153e04f3dadf
4
- data.tar.gz: 93c260aa0ec3685bf92e5664e64103bbd2ac16b6c6754cff8a9dd9627f86d56c
3
+ metadata.gz: f7ffbe030de2443b4266b88222b233c3ff9808596a1cf6f1f45c8a8701c0f495
4
+ data.tar.gz: 75086349970c0e2ae6f396644a91e778edf2546b1da8db7fee7542206177479c
5
5
  SHA512:
6
- metadata.gz: 35a7d55e39f02c717c38356e76958047198406d5bd65dd1faab7758e187f1c4a73ab20ad6307745f32b498fded7e20ff2cdaee2a9bc044f0c58da6309a90c90a
7
- data.tar.gz: 05a82eb9f4d556e17f6a4425f5e1fe5944795b00436eed57f5c2f75c771d1d990aebebd8cb40e17880a3a4a79607aecb4cdb5450516f3185bb70b1b676f50116
6
+ metadata.gz: 5642e9f049b05b93adb9de16c95fba91a51923631a9a22b8378b7eb718af9d678d1cdce46c9dba78394dd8f7905411d9b85d7e1cb329ac152c7e3fa147ae3fe5
7
+ data.tar.gz: d98bc9deff332011d9f871ddffe645772360d7926355e498e333abcf3060129bf3204278574618e0081486afbea03c9eff0f7e91caf4e36fe22182c33240f8b1
data/.commitlintrc.yml ADDED
@@ -0,0 +1,37 @@
1
+ ---
2
+ extends: '@commitlint/config-conventional'
3
+
4
+ rules:
5
+ # See: https://commitlint.js.org/reference/rules.html
6
+ #
7
+ # Rules are made up by a name and a configuration array. The configuration
8
+ # array contains:
9
+ #
10
+ # * Severity [0..2]: 0 disable rule, 1 warning if violated, or 2 error if
11
+ # violated
12
+ # * Applicability [always|never]: never inverts the rule
13
+ # * Value: value to use for this rule (if applicable)
14
+ #
15
+ # Run `npx commitlint --print-config` to see the current setting for all
16
+ # rules.
17
+ #
18
+ header-max-length: [2, always, 100] # Header can not exceed 100 chars
19
+
20
+ type-case: [2, always, lower-case] # Type must be lower case
21
+ type-empty: [2, never] # Type must not be empty
22
+
23
+ # Supported conventional commit types
24
+ type-enum: [2, always, [build, ci, chore, docs, feat, fix, perf, refactor, revert, style, test]]
25
+
26
+ scope-case: [2, always, lower-case] # Scope must be lower case
27
+
28
+ # Error if subject is one of these cases (encourages lower-case)
29
+ subject-case: [2, never, [sentence-case, start-case, pascal-case, upper-case]]
30
+ subject-empty: [2, never] # Subject must not be empty
31
+ subject-full-stop: [2, never, "."] # Subject must not end with a period
32
+
33
+ body-leading-blank: [2, always] # Body must have a blank line before it
34
+ body-max-line-length: [2, always, 100] # Body lines can not exceed 100 chars
35
+
36
+ footer-leading-blank: [2, always] # Footer must have a blank line before it
37
+ footer-max-line-length: [2, always, 100] # Footer lines can not exceed 100 chars
@@ -0,0 +1,30 @@
1
+ ---
2
+ name: Conventional Commits
3
+
4
+ permissions:
5
+ contents: read
6
+
7
+ on:
8
+ pull_request:
9
+ branches:
10
+ - main
11
+
12
+ jobs:
13
+ commit-lint:
14
+ name: Verify Conventional Commits
15
+
16
+ # Skip this job if this is a release PR
17
+ if: >-
18
+ github.event_name == 'workflow_dispatch' ||
19
+ (github.event_name == 'pull_request' && !startsWith(github.event.pull_request.head.ref, 'release-please--'))
20
+
21
+ runs-on: ubuntu-latest
22
+
23
+ steps:
24
+ - name: Checkout
25
+ uses: actions/checkout@v4
26
+ with: { fetch-depth: 0 }
27
+
28
+ - name: Check Commit Messages
29
+ uses: wagoid/commitlint-github-action@v6
30
+ with: { configFile: .commitlintrc.yml }
@@ -1,3 +1,3 @@
1
1
  {
2
- ".": "1.0.3"
2
+ ".": "1.0.4"
3
3
  }
data/CHANGELOG.md CHANGED
@@ -4,6 +4,13 @@ Changes for each release are listed in this file. Changes prior to v1.0.0 were n
4
4
 
5
5
  This project adheres to [Semantic Versioning](https://semver.org/) for its releases.
6
6
 
7
+ ## [1.0.4](https://github.com/main-branch/github_pages_rake_tasks/compare/v1.0.3...v1.0.4) (2025-04-18)
8
+
9
+
10
+ ### Other Changes
11
+
12
+ * Configure release-please to includes all changes in the CHANGELOG ([9586d0a](https://github.com/main-branch/github_pages_rake_tasks/commit/9586d0a91975d221846a3b69c7c0e9a012dd0c77))
13
+
7
14
  ## [1.0.3](https://github.com/main-branch/github_pages_rake_tasks/compare/v1.0.2...v1.0.3) (2025-04-17)
8
15
 
9
16
 
@@ -3,5 +3,5 @@
3
3
 
4
4
  module GithubPagesRakeTasks
5
5
  # Version of this module
6
- VERSION = '1.0.3'
6
+ VERSION = '1.0.4'
7
7
  end
@@ -10,7 +10,21 @@
10
10
  "bump-patch-for-minor-pre-major": true,
11
11
  "draft": false,
12
12
  "prerelease": false,
13
- "include-component-in-tag": false
13
+ "include-component-in-tag": false,
14
+ "pull-request-title-pattern": "chore: release v${version}",
15
+ "changelog-sections": [
16
+ { "type": "feat", "section": "Features", "hidden": false },
17
+ { "type": "fix", "section": "Bug Fixes", "hidden": false },
18
+ { "type": "build", "section": "Other Changes", "hidden": false },
19
+ { "type": "chore", "section": "Other Changes", "hidden": false },
20
+ { "type": "ci", "section": "Other Changes", "hidden": false },
21
+ { "type": "docs", "section": "Other Changes", "hidden": false },
22
+ { "type": "perf", "section": "Other Changes", "hidden": false },
23
+ { "type": "refactor", "section": "Other Changes", "hidden": false },
24
+ { "type": "revert", "section": "Other Changes", "hidden": false },
25
+ { "type": "style", "section": "Other Changes", "hidden": false },
26
+ { "type": "test", "section": "Other Changes", "hidden": false }
27
+ ]
14
28
  }
15
29
  },
16
30
  "plugins": [
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: github_pages_rake_tasks
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Couball
@@ -168,8 +168,10 @@ executables: []
168
168
  extensions: []
169
169
  extra_rdoc_files: []
170
170
  files:
171
+ - ".commitlintrc.yml"
171
172
  - ".github/CODEOWNERS"
172
173
  - ".github/workflows/continuous_integration.yml"
174
+ - ".github/workflows/enforce_conventional_commits.yml"
173
175
  - ".github/workflows/release.yml"
174
176
  - ".gitignore"
175
177
  - ".release-please-manifest.json"