Skip to content

Add missing in branch check #1

Add missing in branch check

Add missing in branch check #1

name: Validate Missing in branch
on:
push:
branches:
- main
paths:
- .github/workflows/validate-missing-in-branch.yml
pull_request:
paths:
- .github/workflows/validate-missing-in-branch.yml
workflow_call:
inputs:
milestone:
description: 'Milestone to check'
default: "40"
required: false
type: string
workflow_dispatch:
inputs:
milestone:
description: 'Milestone to check'
default: "40"
required: false
type: string
jobs:
missing-in-branch:
uses: pytorch/test-infra/.github/workflows/linux_job.yml@main
with:
runner: linux.2xlarge
repository: "pytorch/builder"
timeout: 30
script: |

Check failure on line 34 in .github/workflows/validate-missing-in-branch.yml

View workflow run for this annotation

GitHub Actions / Validate Missing in branch

Invalid workflow file

The workflow is not valid. .github/workflows/validate-missing-in-branch.yml (Line: 34, Col: 15): Unrecognized named-value: 'input'. Located at position 1 within expression: input.milestone
set -ex
retry git clone --depth 1 https://github.com/pytorch/pytorch.git
python ./analytics/github_analyze.py --repo-path ../pytorch --remote upstream --branch release/2.2 --milestone-id ${{ input.milestone }} --missing-in-branch