Skip to content

Commit eb14dea

Browse files
committed
test
1 parent 928de4e commit eb14dea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/update-azure-coverage.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ on:
66
workflow_dispatch:
77
inputs:
88
targetBranch:
9-
required: false
9+
required: true
1010
type: string
11-
default: "main"
11+
description: "Branch to checkout and compare against (e.g. harshmishra/doc-91)"
1212
pull_request:
1313
types: [opened, synchronize]
1414

@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
fetch-depth: 0
2727
path: docs
28-
ref: ${{ github.event.inputs.targetBranch || 'main' }}
28+
ref: ${{ github.event.inputs.targetBranch }}
2929

3030
- name: Set up system wide dependencies
3131
run: |
@@ -55,7 +55,7 @@ jobs:
5555
id: check-for-changes
5656
working-directory: docs
5757
env:
58-
TARGET_BRANCH: ${{ github.event.inputs.targetBranch || 'main' }}
58+
TARGET_BRANCH: ${{ github.event.inputs.targetBranch }}
5959
run: |
6060
mkdir -p resources
6161
(git diff --name-only origin/automated-azure-coverage-updates src/data/azure-coverage/ 2>/dev/null || git diff --name-only "origin/$TARGET_BRANCH" src/data/azure-coverage/ 2>/dev/null) | tee -a resources/diff-check.log

0 commit comments

Comments
 (0)