Skip to content

Commit 29a826b

Browse files
authored
Address dependabot Github Actions alerts (#8550)
This pull request updates and simplifies the project's GitHub Actions workflows. The main changes are the removal of several legacy or redundant workflow files and the upgrade of GitHub Actions versions to their latest releases for improved reliability and security. **Workflow removals:** * Removed the following workflow files, which are no longer needed or have been consolidated elsewhere: - `.github/workflows/beachball-bump.yml` - `.github/workflows/label.yml` - `.github/workflows/metadata-check.yml` - `.github/workflows/npm-audit.yml` **Actions version upgrades:** * Upgraded `actions/checkout` and `actions/setup-node` from v4 to v6 in the following workflows to use the latest features and security updates: - `.github/workflows/beachball-check.yml` - `.github/workflows/client-credential-benchmark.yml` - `.github/workflows/issue-template-bot.yml` - `.github/workflows/msal-node-confidential-client-benchmarks.yml` - `.github/workflows/typedoc.yml`
1 parent 34a4e06 commit 29a826b

9 files changed

Lines changed: 9 additions & 189 deletions

.github/workflows/beachball-bump.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.github/workflows/beachball-check.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,14 @@ jobs:
3333
- 'lib/**/**.!(md)'
3434
- 'extensions/msal-node-extensions/**/**.!(md)'
3535
36-
- uses: actions/checkout@v4
36+
- uses: actions/checkout@v6
3737
if: ${{ steps.filter.outputs.lib == 'true' }}
3838
with:
3939
fetch-depth: 0
4040

4141
- name: Use Node.js
4242
if: ${{ steps.filter.outputs.lib == 'true' }}
43-
uses: actions/setup-node@v4
44-
with:
45-
node-version: 18
43+
uses: actions/setup-node@v6
4644

4745
- name: Install beachball
4846
if: ${{ steps.filter.outputs.lib == 'true' }}

.github/workflows/client-credential-benchmark.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
name: Run msal-node client-credential Regression Test
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/checkout@v4
24-
- uses: actions/setup-node@v4
23+
- uses: actions/checkout@v6
24+
- uses: actions/setup-node@v6
2525

2626
- name: Install dependencies
2727
run: npm install --workspace=lib/msal-common --workspace=lib/msal-node

.github/workflows/issue-template-bot.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- name: Checkout
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Run Bot
2121
uses: ./.github/actions/issue_template_bot

.github/workflows/label.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/metadata-check.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/msal-node-confidential-client-benchmarks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
name: Performance regression check
1616
runs-on: ubuntu-latest
1717
steps:
18-
- uses: actions/checkout@v4
19-
- uses: actions/setup-node@v4
18+
- uses: actions/checkout@v6
19+
- uses: actions/setup-node@v6
2020

2121
- name: Install dependencies
2222
run: npm install --workspace=lib/msal-common --workspace=lib/msal-node

.github/workflows/npm-audit.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/typedoc.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,13 @@ jobs:
1616
contents: write
1717
pages: write
1818
steps:
19-
- uses: actions/checkout@v4
19+
- uses: actions/checkout@v6
2020
with:
2121
submodules: true # Fetch Hugo themes (true OR recursive)
2222
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod
2323

2424
- name: Use Node.js
25-
uses: actions/setup-node@v4
26-
with:
27-
node-version: 24
25+
uses: actions/setup-node@v6
2826

2927
- name: Install
3028
run: npm i --workspace=lib/** --workspace=@azure/msal-node-extensions --include-workspace-root

0 commit comments

Comments
 (0)