Skip to content

Commit 6faf020

Browse files
authored
Merge pull request #1513 from mikepenz/develop
dev -> main
2 parents 439f79b + 758b277 commit 6faf020

File tree

11 files changed

+37099
-37602
lines changed

11 files changed

+37099
-37602
lines changed

.github/workflows/check-dist.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525
runs-on: ubuntu-latest
2626

2727
steps:
28-
- uses: actions/checkout@v5
28+
- uses: actions/checkout@v6
2929

3030
- name: Set Node.js 20.x
31-
uses: actions/setup-node@v4
31+
uses: actions/setup-node@v6
3232
with:
3333
node-version: 20.x
3434

@@ -48,7 +48,7 @@ jobs:
4848
id: diff
4949

5050
# If index.js was different than expected, upload the expected version as an artifact
51-
- uses: actions/upload-artifact@v4
51+
- uses: actions/upload-artifact@v6
5252
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
5353
with:
5454
name: dist

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v5
18+
uses: actions/checkout@v6
1919
with:
2020
fetch-depth: 100
2121
fetch-tags: true
2222

2323
- name: Set Node.js 24.x
24-
uses: actions/setup-node@v4
24+
uses: actions/setup-node@v6
2525
with:
2626
node-version: 24.x
2727

@@ -36,7 +36,7 @@ jobs:
3636
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3737

3838
- name: Publish Test Report
39-
uses: mikepenz/action-junit-report@v5
39+
uses: mikepenz/action-junit-report@v6
4040
if: success() || failure() # always run even if the previous step fails
4141
with:
4242
report_paths: 'junit.xml'
@@ -90,7 +90,7 @@ jobs:
9090
run: echo "CHANGELOG"
9191

9292
- name: Checkout
93-
uses: actions/checkout@v5
93+
uses: actions/checkout@v6
9494
with:
9595
fetch-depth: 0
9696

@@ -181,11 +181,11 @@ jobs:
181181
runs-on: ubuntu-latest
182182
steps:
183183
- name: Checkout
184-
uses: actions/checkout@v4
184+
uses: actions/checkout@v6
185185

186186
- name: "Build Changelog"
187187
id: github_release
188-
uses: mikepenz/release-changelog-builder-action@v5
188+
uses: mikepenz/release-changelog-builder-action@v6
189189
with:
190190
configuration: "configs/configuration_repo.json"
191191
ignorePreReleases: ${{ !contains(github.ref, '-') }}

.github/workflows/codeql-analysis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ jobs:
4343

4444
steps:
4545
- name: Checkout repository
46-
uses: actions/checkout@v5
46+
uses: actions/checkout@v6
4747

4848
# Initializes the CodeQL tools for scanning.
4949
- name: Initialize CodeQL
50-
uses: github/codeql-action/init@v3
50+
uses: github/codeql-action/init@v4
5151
with:
5252
languages: ${{ matrix.language }}
5353
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -58,7 +58,7 @@ jobs:
5858
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
5959
# If this step fails, then you should remove it and run the build manually (see below)
6060
- name: Autobuild
61-
uses: github/codeql-action/autobuild@v3
61+
uses: github/codeql-action/autobuild@v4
6262

6363
# ℹ️ Command-line programs to run using the OS shell.
6464
# 📚 https://git.io/JvXDl
@@ -72,4 +72,4 @@ jobs:
7272
# make release
7373

7474
- name: Perform CodeQL Analysis
75-
uses: github/codeql-action/analyze@v3
75+
uses: github/codeql-action/analyze@v4

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ jobs:
8989
steps:
9090
- name: Build Changelog
9191
id: github_release
92-
uses: mikepenz/release-changelog-builder-action@v5
92+
uses: mikepenz/release-changelog-builder-action@v6
9393
env:
9494
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
9595

@@ -112,7 +112,7 @@ jobs:
112112
runs-on: ubuntu-latest
113113
steps:
114114
- name: Build Changelog
115-
uses: mikepenz/release-changelog-builder-action@v5
115+
uses: mikepenz/release-changelog-builder-action@v6
116116
with:
117117
configurationJson: |
118118
{
@@ -146,7 +146,7 @@ jobs:
146146
runs-on: ubuntu-latest
147147
steps:
148148
- name: Build Changelog
149-
uses: mikepenz/release-changelog-builder-action@v5
149+
uses: mikepenz/release-changelog-builder-action@v6
150150
with:
151151
mode: "COMMIT"
152152
configurationJson: |
@@ -318,7 +318,7 @@ The action supports flexible and extensive configuration options to fine-tune it
318318

319319
```yml
320320
- name: Build Changelog
321-
uses: mikepenz/release-changelog-builder-action@v5
321+
uses: mikepenz/release-changelog-builder-action@v6
322322
with:
323323
configurationJson: |
324324
{
@@ -725,7 +725,7 @@ The API for gitea is equal to the one from GitHub, however it requires the `plat
725725

726726
```yml
727727
- name: Build Changelog
728-
uses: https://github.com/mikepenz/release-changelog-builder-action@v5
728+
uses: https://github.com/mikepenz/release-changelog-builder-action@v6
729729
with:
730730
platform: "gitea" # gitea or GitHub, default is GitHub
731731
configuration: "configuration.json"

__tests__/releaseNotesBuilder.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {expect, test} from 'vitest'
66

77
clear()
88

9-
const token = process.env.GITHUB_TOKEN || ''
9+
const token = process.env.GITHUB_TOKEN || process.env.GITHUB__TEST_TOKEN || ''
1010
const githubRepository = new GithubRepository(token, undefined, '.')
1111
test('[Github] Should match generated changelog (unspecified fromTag)', async () => {
1212
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs/configuration.json'))

__tests__/releaseNotesBuilderPull.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ clear()
1111
// load octokit instance
1212
const enablePullData = false // if false -> use cache for data
1313

14-
const token = process.env.GITHUB_TOKEN || ''
14+
const token = process.env.GITHUB_TOKEN || process.env.GITHUB__TEST_TOKEN || ''
1515
const githubRepository = new GithubRepository(token, undefined, '.')
1616
test('Should have empty changelog (tags)', async () => {
1717
const configuration = mergeConfiguration(undefined, resolveConfiguration('', 'configs/configuration.json'))

0 commit comments

Comments
 (0)