Skip to content

Commit 25b6624

Browse files
Remove comments from workflow to avoid spell check flag (#49654)
Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
1 parent 1f03286 commit 25b6624

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

.github/workflows/verify-links.yml

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
11
name: Verify Links
22

3-
# Runs the link verification check (eng/common/scripts/Verify-Links.ps1) that
4-
# previously lived as a step in the Azure DevOps "Compliance" job in
5-
# eng/pipelines/templates/jobs/ci.yml.
6-
#
7-
# Triggers:
8-
# - pull_request: runs on every PR, scanning only changed *.md files (matches
9-
# the prior Compliance-job behavior for PR builds).
10-
# - check_run completed: fires when the Azure DevOps "net - pullrequest"
11-
# pipeline (which owns the Compliance job) reports back to GitHub, so it
12-
# effectively runs after the Compliance job. Same scanning behavior as PR.
13-
# - workflow_dispatch: manual runs.
14-
153
on:
164
pull_request:
175
branches:
@@ -29,8 +17,6 @@ permissions:
2917
jobs:
3018
verify-links:
3119
name: Verify Links
32-
# When fired via check_run, only run after the Azure DevOps Compliance
33-
# job in the Azure/azure-sdk-for-net repo completes.
3420
if: >-
3521
github.event.check_run.check_suite.app.name == 'Azure Pipelines' &&
3622
(github.repository == 'Azure/azure-sdk-for-net' && contains(github.event.check_run.name, 'Compliance')) ||
@@ -47,17 +33,10 @@ jobs:
4733
uses: actions/checkout@v4
4834
with:
4935
ref: ${{ github.event.pull_request.head.sha || github.event.check_run.head_sha || github.sha }}
50-
# Need full history so get-markdown-files-from-changed-files.ps1 can
51-
# diff against the target branch (origin/<base>) that checkout sets up.
5236
fetch-depth: 0
5337

5438
- name: Link verification check
5539
shell: pwsh
56-
# The shared scripts read these Azure DevOps-style variables to compute
57-
# the git diff range used by Get-ChangedFiles. Setting them lets the
58-
# script's defaults work:
59-
# $TargetCommittish = ("origin/${env:SYSTEM_PULLREQUEST_TARGETBRANCH}" -replace "refs/heads/")
60-
# $SourceCommittish = "${env:SYSTEM_PULLREQUEST_SOURCECOMMITID}"
6140
env:
6241
SYSTEM_PULLREQUEST_TARGETBRANCH: ${{ github.base_ref }}
6342
SYSTEM_PULLREQUEST_SOURCECOMMITID: ${{ github.event.pull_request.head.sha }}

0 commit comments

Comments
 (0)