Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix missing slash command input args
Browse files Browse the repository at this point in the history
aaronsteers committed Apr 25, 2024
1 parent f96d9f1 commit b1da60e
Showing 5 changed files with 41 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/connector-performance-command.yml
Original file line number Diff line number Diff line change
@@ -37,6 +37,14 @@ on:
required: false
type: string
default: "true"

# TODO: Replace 'gitref' and 'repo' inputs with 'pr'.
# See example in `.github/workflows/format-fix-command.yml`.
pr:
description: "PR Number (ignored)"
type: number
required: false

workflow_dispatch:
inputs:
connector:
11 changes: 11 additions & 0 deletions .github/workflows/format-fix-command.yml
Original file line number Diff line number Diff line change
@@ -5,11 +5,22 @@ on:
inputs:
pr:
description: "Pull request number. Used to pull the proper branch ref, including on forks."
type: number
required: false
comment-id:
description: "Optional. The comment-id of the slash command. Used to update the comment with the status."
required: false

# These must be declared, but they are unused and ignored.
# TODO: Get 'repo' and 'gitref' from the PR on other workflows, so we can remove these.
repo:
description: "Repo (Ignored)"
required: false
default: "airbytehq/airbyte"
gitref:
description: "Ref (Ignored)"
required: false

run-name: "Fix formatting on PR #${{ github.event.inputs.pr }}"
concurrency:
group: ${{ github.workflow }}-${{ github.event.inputs.pr }}
7 changes: 7 additions & 0 deletions .github/workflows/publish-java-cdk-command.yml
Original file line number Diff line number Diff line change
@@ -41,6 +41,13 @@ on:
description: "Optional comment-id of the slash command. Ignore if not applicable."
required: false

# TODO: Replace 'gitref' and 'repo' inputs with 'pr'.
# See example in `.github/workflows/format-fix-command.yml`.
pr:
description: "PR Number (ignored)"
type: number
required: false

concurrency:
group: publish-java-cdk
cancel-in-progress: false
8 changes: 8 additions & 0 deletions .github/workflows/test-command.yml
Original file line number Diff line number Diff line change
@@ -26,6 +26,14 @@ on:
local_cdk:
description: "Run Connector Acceptance Tests against the CDK version on the current branch."
required: false

# TODO: Replace 'gitref' and 'repo' inputs with 'pr'.
# See example in `.github/workflows/format-fix-command.yml`.
pr:
description: "PR Number (ignored)"
type: number
required: false

jobs:
write-deprecation-message:
runs-on: ubuntu-latest
7 changes: 7 additions & 0 deletions .github/workflows/test-performance-command.yml
Original file line number Diff line number Diff line change
@@ -25,6 +25,13 @@ on:
description: "Memory CPU limit"
required: false

# TODO: Replace 'gitref' and 'repo' inputs with 'pr'.
# See example in `.github/workflows/format-fix-command.yml`.
pr:
description: "PR Number (ignored)"
type: number
required: false

jobs:
start-test-runner:
name: Start Build EC2 Runner

0 comments on commit b1da60e

Please sign in to comment.