Skip to content

Commit 8242e8d

Browse files
authored
fix: MIT license file data (#31)
* fix: renovatebot github user * fix: renovatebot github user * fix: Fix MIT license template
1 parent 0d5812d commit 8242e8d

File tree

7 files changed

+15
-7
lines changed

7 files changed

+15
-7
lines changed

.github/workflows/contributor-license-agreement.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
signed-commit-message: '$contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
3535
path-to-document: 'https://github.com/Telefonica/opensource-scaffold/blob/main/.github/CLA.md'
3636
branch: 'chore/cla-signatures'
37-
# the below is the list of users who are allowed to sign the CLA without any check
38-
allowlist: "@renovate,dependabot"
37+
# The below is the list of users who are allowed to sign the CLA without any check
38+
allowlist: 'renovatebot,dependabot'

.github/workflows/init.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ on:
2222
required: true
2323
copyright:
2424
type: string
25-
description: Copyright owner
25+
description: Copyright holder
2626
required: true
2727
description:
2828
type: string

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111
#### Deprecated
1212
#### Removed
1313

14+
## [0.2.2] - 2025-01-14
15+
16+
### Fixed
17+
18+
* fix: Fix MIT license template data. Year and copyright holder name were not being replaced correctly.
19+
* fix: Fix renovate user id in the CLA allowlist
20+
1421
## [0.2.1] - 2025-01-13
1522

1623
### Fixed

cspell/tech.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
ELIFECYCLE
22
opensource
3+
renovatebot

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tid-xcut/opensource-scaffold",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"type": "module",
55
"description": "Scaffolding for open source projects. A CLI tool to create open source repositories tools and resources",
66
"packageManager": "[email protected]",

templates/.github/workflows/contributor-license-agreement.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434
signed-commit-message: '$contributorName has signed the CLA in $owner/$repo#$pullRequestNo'
3535
path-to-document: '<%= repositoryUrl %>/blob/main/.github/CLA.md'
3636
branch: 'chore/cla-signatures'
37-
# the below is the list of users who are allowed to sign the CLA without any check
38-
allowlist: "@renovate,dependabot"
37+
# The below is the list of users who are allowed to sign the CLA without any check
38+
allowlist: 'renovatebot,dependabot'

templates/license-files/MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright {%= year %} {%= copyrightHolder %}
1+
Copyright <%= year %> <%= copyrightHolder %>
22

33
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
44

0 commit comments

Comments
 (0)