Skip to content
Merged
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
14 changes: 7 additions & 7 deletions .github/workflows/classify-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@ on:
permissions:
contents: read
issues: write
pull-requests: read
pull-requests: write

concurrency:
group: classify-pull-request-${{ github.event.pull_request.number || inputs.pr-number || 'all' }}
cancel-in-progress: true

jobs:
classify-size-area:
uses: microsoft/go-infra/.github/workflows/classify-pull-request.yml@33bdb51f63044f5caa3df215d983d226ebdfef6c
uses: microsoft/go-infra/.github/workflows/classify-pull-request.yml@35d34d21089773bebd2dd5efc6197a38f16490bf
permissions:
contents: read
issues: write
pull-requests: read
pull-requests: write
with:
pr-number: ${{ github.event.pull_request.number || inputs.pr-number || 0 }}
pr-number: ${{ github.event.pull_request.number || fromJSON(github.event.inputs.pr-number || '0') }}
area-prefixes: |
{
"area:agent": ["agent/"],
Expand All @@ -53,9 +53,9 @@ jobs:
}

classify-kind:
if: github.event_name != 'workflow_dispatch' || inputs.pr-number != 0
if: github.event_name != 'workflow_dispatch' || github.event.inputs.pr-number != '0'
needs: classify-size-area
uses: microsoft/go-infra/.github/workflows/classify-pull-request-kind.lock.yml@33bdb51f63044f5caa3df215d983d226ebdfef6c
uses: microsoft/go-infra/.github/workflows/classify-pull-request-kind.lock.yml@35d34d21089773bebd2dd5efc6197a38f16490bf
secrets: inherit
permissions:
actions: read
Expand All @@ -64,4 +64,4 @@ jobs:
pull-requests: write
copilot-requests: write
with:
pr_number: ${{ github.event.pull_request.number || inputs.pr-number }}
pr_number: ${{ github.event.pull_request.number || fromJSON(github.event.inputs.pr-number || '0') }}