Skip to content
Closed
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
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ updates:
directory: "/"
schedule:
interval: "weekly"
cooldown:
default-days: 7
6 changes: 3 additions & 3 deletions .github/workflows/api-doctor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
# Also required by Windows
- run: git config --global core.longpaths true
- name: Checkout docs repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Setup .NET
uses: actions/setup-dotnet@v6
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: |
6.x
8.x
- name: Install NuGet
uses: NuGet/setup-nuget@v4
uses: NuGet/setup-nuget@fd55a6f3b34392fa83fde1454582407d8c714123 # v4.0
- name: Install ApiDoctor from NuGet
run: nuget install ApiDoctor -Version $Env:APIDOCTOR_VERSION -OutputDirectory ./nuget -NonInteractive -DisableParallelProcessing
- name: Validate v1.0 docs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/changelog-links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
name: Check files for broken links
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
sparse-checkout: |
changelog
Expand All @@ -22,4 +22,4 @@ jobs:
with:
repoToken: ${{ secrets.GITHUB_TOKEN }}
changeLogDirectory: changelog
uses: microsoftgraph/changelog-link-check@v1.0.9
uses: microsoftgraph/changelog-link-check@c6ca82660f2b4c55a617a5ff763d9c726be5e7c8 # v1.0.9
2 changes: 1 addition & 1 deletion .github/workflows/changelog-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
verify-json-validation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Validate Changelog JSONs with Schema
run: |
./scripts/validate-changelog-json.ps1
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/cloud-support.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout docs repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: docs
- name: Checkout metadata repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: microsoftgraph/msgraph-metadata
path: metadata
- name: Checkout tool repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: microsoftgraph/msgraph-cloud-support
path: tool
- name: Setup .NET
uses: actions/setup-dotnet@v6
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 10.x
- name: Build cloud support tool
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
$TOOL --open-api ./openapi/beta --api-docs ./docs/api-reference/beta/api --overrides ./docs/api-reference/cloud.api.overrides.json --excludes ./docs/api-reference/cloud.exclusions.json --remove-old-includes
- name: Get token
id: get_token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.APPLICATION_ID }}
private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/community.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,5 @@ jobs:
GH_TOKEN: ${{ github.token }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- run: gh pr edit ${{ github.event.number }} --milestone "Community Contributions"
2 changes: 1 addition & 1 deletion .github/workflows/eol-blocker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ jobs:
repoToken: ${{ secrets.GITHUB_TOKEN }}
excludeFiles: '**/**.{png,PNG,jpg,JPG,jpeg,JPEG,gif,GIF,bmp,BMP}'
id: validate
uses: microsoftgraph/eol-blocker@v1.0.15
uses: microsoftgraph/eol-blocker@14648e1b1978662860dcc551e70aeb13ad741486 # v1.0.15
8 changes: 4 additions & 4 deletions .github/workflows/generate-ref-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ jobs:
result: ${{ steps.commit-if-needed.outputs.result }}
steps:
- name: Checkout docs repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ inputs.target }}
path: docs
- name: Checkout tool repo
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
repository: microsoftgraph/msgraph-toc-gen
path: tool
- name: Setup .NET
uses: actions/setup-dotnet@v6
uses: actions/setup-dotnet@a98b56852c35b8e3190ac28c8c2271da59106c68 # v6.0.0
with:
dotnet-version: 10.x
- name: Build TOC generation tool
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Get token
id: get_token
if: ${{ inputs.pull_request }}
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
continue-on-error: true
with:
client-id: ${{ secrets.APPLICATION_ID }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/permissions-reference-gen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@ jobs:
run: git config --system core.longpaths true

- name: Checkout microsoft-graph-docs
uses: actions/checkout@v7
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
path: docs

- name: Azure Login using Federated Identity
uses: azure/login@v3
uses: azure/login@a641126d1b8aa4d1fa005f4f92df94a3a4c4c906 # v3.1.0
with:
client-id: ${{ secrets.GRAPHPERMISSIONSREFERENCE_CLIENT_ID }}
tenant-id: ${{ secrets.GRAPHPERMISSIONSREFERENCE_TENANT_ID }}
Expand All @@ -40,7 +40,7 @@ jobs:

- name: Get token
id: get_token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.APPLICATION_ID }}
private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/permissions-tables-generation-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
runs-on: ubuntu-latest # https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md

steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 10 # number of commits to fetch so that we can query history

- name: Get token
id: get_token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.APPLICATION_ID }}
private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/snippet-generation-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ jobs:
runs-on: ubuntu-latest # https://github.com/actions/virtual-environments/blob/master/images/linux/Ubuntu1804-README.md

steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 10 # number of commits to fetch so that we can query history

- name: Get token
id: get_token
uses: actions/create-github-app-token@v3
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v3.2.0
with:
client-id: ${{ secrets.APPLICATION_ID }}
private-key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/temp-docstubs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
verify-temp-docstubs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Validate temp-docstubs folder
run: |
./scripts/validate-temp-docstubs.ps1
Expand Down