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
7 changes: 6 additions & 1 deletion .github/workflows/pr-triage-adk-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,11 @@ on:
description: 'The pull request number to triage'
required: true
type: 'string'
dry_run:
description: 'Dry run: preview only. Set to false to actually create the issue and PRs.'
required: false
default: true
type: boolean

# Serialize runs that touch the same PR so a re-trigger (e.g. an "edited" event)
# can't race an in-flight run on the same PR (which, with label appends, could
Expand Down Expand Up @@ -78,7 +83,7 @@ jobs:
INTERACTIVE: '0'
# Defaults to a dry run (logs intended labels/comments without writing).
# Verify the pipeline, then set DRY_RUN to '0' to go live.
DRY_RUN: '1'
DRY_RUN: ${{ github.event.inputs.dry_run || 'true' }}
EVENT_NAME: ${{ github.event_name }}
PULL_REQUEST_NUMBER: ${{ github.event.pull_request.number || github.event.inputs.pr_number }}
run: |
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/spam-detection-adk-java-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ on:
required: false
default: false
type: boolean
dry_run:
description: 'Dry run: preview only. Set to false to actually create the issue and PRs.'
required: false
default: true
type: boolean

# Serialize runs that touch the same issue so the scheduled sweep can't race a
# per-issue run on that issue.
Expand Down Expand Up @@ -73,7 +78,7 @@ jobs:
INTERACTIVE: '0'
# Defaults to a dry run (logs intended labels/comments without writing).
# Verify the pipeline, then set DRY_RUN to '0' to go live.
DRY_RUN: '1'
DRY_RUN: ${{ github.event.inputs.dry_run || 'true' }}
EVENT_NAME: ${{ github.event_name }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
ISSUE_TITLE: ${{ github.event.issue.title }}
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/triage-adk-java-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ on:
# Run every 6 hours to triage untriaged issues.
- cron: '0 */6 * * *'
workflow_dispatch:
inputs:
dry_run:
description: 'Dry run: preview only. Set to false to actually create the issue and PRs.'
required: false
default: true
type: boolean

# Serialize runs that touch the same issue so the scheduled batch sweep can't race
# a per-issue run on that issue (which, with label appends, could duplicate labels).
Expand Down Expand Up @@ -63,7 +69,7 @@ jobs:
INTERACTIVE: '0'
# Defaults to a dry run (logs intended labels/assignees without writing).
# Verify the pipeline, then set DRY_RUN to '0' to go live.
DRY_RUN: '1'
DRY_RUN: ${{ github.event.inputs.dry_run || 'true' }}
EVENT_NAME: ${{ github.event_name }}
ISSUE_NUMBER: ${{ github.event.issue.number }}
ISSUE_TITLE: ${{ github.event.issue.title }}
Expand Down
Loading