Skip to content
Merged
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
1 change: 1 addition & 0 deletions .github/workflows/codegen-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'scripts/codegen/**'
- 'nodejs/src/generated/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/corrections-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
paths:
- 'scripts/corrections/**'
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'scripts/corrections/**'

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/docs-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "Documentation Validation"

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'docs/**'
- 'nodejs/src/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dotnet-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'dotnet/**'
- 'test/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/go-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'go/**'
- 'test/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nodejs-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'nodejs/**'
- 'test/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/python-sdk-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
branches:
- main
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- 'python/**'
- 'test/**'
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/scenario-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: "Scenario Build Verification"

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "test/scenarios/**"
- "nodejs/src/**"
Expand Down
11 changes: 10 additions & 1 deletion .github/workflows/update-copilot-dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,15 @@ jobs:
git push origin "$BRANCH" --force-with-lease

if gh pr view "$BRANCH" >/dev/null 2>&1; then
echo "Pull request for branch '$BRANCH' already exists; updated branch only."
if [ "$(gh pr view "$BRANCH" --json isDraft --jq '.isDraft')" = "false" ]; then
gh pr ready "$BRANCH" --undo
echo "Pull request for branch '$BRANCH' already existed and was moved back to draft after updating the branch."
else
echo "Pull request for branch '$BRANCH' already exists and is already a draft; updated branch only."
fi
else
gh pr create \
--draft \
--title "Update @github/copilot to $VERSION" \
--body "Automated update of \`@github/copilot\` to version \`$VERSION\`.

Expand All @@ -111,6 +117,9 @@ jobs:
- Re-ran all code generators (\`scripts/codegen\`)
- Formatted generated output

### Next steps
When ready, click **Ready for review** to trigger CI checks.

> Created by the **Update @github/copilot Dependency** workflow." \
--base main \
--head "$BRANCH"
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/verify-compiled.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Verify compiled workflows

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- '.github/workflows/*.md'
- '.github/workflows/*.lock.yml'
Expand Down
Loading