Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump action versions. Fix for "Node.js actions are deprecated" warnings #576

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/CreateBuildTag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Build Version
id: GetBuildVersion
Expand All @@ -31,7 +31,7 @@ jobs:
Add-Content -Encoding UTF8 -Path $env:GITHUB_OUTPUT -Value "BuildVersion=$buildVersion"

- name: Create version tag
uses: actions/github-script@v6
uses: actions/github-script@v7
env:
BuildVersion: ${{ steps.GetBuildVersion.outputs.BuildVersion}}
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/MSDO.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,15 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Run Credential Scanning
uses: microsoft/[email protected]
id: credscan
with:
policy: Microsoft
tools: credscan

- name: Upload results to Security tab
uses: github/codeql-action/upload-sarif@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/PullRequestLabeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ jobs:
if: github.repository_owner == 'microsoft'
steps:
- name: Label pull request
uses: actions/labeler@v4
uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
sync-labels: true

- name: Label community contribution
if: github.event.pull_request.head.repo.full_name != github.repository
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/UpdateBCArtifactVersion.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
UpdateBranches: ${{ steps.GetBranches.outputs.UpdateBranches }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Branches
id: GetBranches
Expand All @@ -41,7 +41,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/UpdatePackageVersions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
UpdateBranches: ${{ steps.GetBranches.outputs.UpdateBranches }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get Branches
id: GetBranches
Expand All @@ -43,7 +43,7 @@ jobs:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ matrix.branch }}

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/WorkitemValidation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,22 +20,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Validate work items for pull request
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
build/scripts/PullRequestValidation/ValidateIssuesForPullRequest.ps1 -PullRequestNumber ${{ github.event.pull_request.number }} -Repository ${{ github.repository }}

WorkItemValidationForMicrosoft:
if: github.repository_owner == 'microsoft' && github.event.pull_request.state == 'open'
name: 'For Microsoft: Validate link to internal work items'
name: 'For Microsoft: Validate link to internal work items'
runs-on: ubuntu-latest
needs: GitHubIssueValidation
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Link work items to pull request if possible
env:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/powershell.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
name: PSScriptAnalyzer
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Run PSScriptAnalyzer
uses: microsoft/[email protected]
Expand All @@ -31,6 +31,6 @@ jobs:

# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
Loading