Skip to content

Commit 3791b89

Browse files
authored
chore(deps): upgrade actions/setup-node to v6.0.0 in workflows
1 parent e77fbb4 commit 3791b89

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/azure-dev-down.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
version: '1.20.0' # Specify your desired azd version here
3737

3838
- name: Setup Node.js
39-
uses: actions/setup-node@v5
39+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
4040
with:
4141
node-version: '18.x'
4242

.github/workflows/azure-dev.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,11 @@ on:
2020
# Set this to the mainline branch you are using
2121
branches:
2222
- main
23+
pull_request:
24+
# Run when pull requests are opened or updated
25+
branches:
26+
- main
2327
# GitHub Actions workflow to deploy to Azure using azd
24-
2528
permissions:
2629
actions: read # Needed for uploading SARIF reports
2730
security-events: write # Needed for uploading SARIF reports
@@ -48,7 +51,7 @@ jobs:
4851
version: '1.20.0' # Specify your desired azd version here
4952

5053
- name: Setup Node.js
51-
uses: actions/setup-node@v5
54+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
5255
with:
5356
node-version: '18.x'
5457

@@ -193,7 +196,7 @@ jobs:
193196
sarif_file: ./checkov-results.sarif/results_sarif.sarif
194197

195198
- name: Azd down
196-
if: ${{ github.event.inputs.run_azd_down == 'true' }}
199+
if: ${{ github.event.inputs.run_azd_down == 'true' || github.event_name == 'pull_request' }}
197200
env:
198201
POWER_PLATFORM_CLIENT_ID: ${{ vars.AZURE_CLIENT_ID }}
199202
POWER_PLATFORM_TENANT_ID: ${{ vars.AZURE_TENANT_ID }}

.github/workflows/terraform-validate.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
fetch-depth: 0 # Required for proper GitLeaks scanning
5151

5252
- name: Setup Node.js
53-
uses: actions/setup-node@v5
53+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
5454
with:
5555
node-version: '18.x'
5656

0 commit comments

Comments
 (0)