Skip to content
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit e2a275a

Browse files
committed
snake case arg names
1 parent 2adaad6 commit e2a275a

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/mirror.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ jobs:
1111
- uses: actions/checkout@v2
1212
- uses: ./
1313
with:
14-
sourceColumnId: MDEzOlByb2plY3RDb2x1bW44NTA2NzUz
15-
targetColumnId: MDEzOlByb2plY3RDb2x1bW44NTA2NzYw
14+
source_column_id: MDEzOlByb2plY3RDb2x1bW44NTA2NzUz
15+
target_column_id: MDEzOlByb2plY3RDb2x1bW44NTA2NzYw
1616
github_token: ${{ secrets.TEST_SECRET }}

action.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ name: 'GitHub Projects Column Mirror'
22
description: 'Reflects all changes to a source project column in a target project column'
33
author: 'Jon Ruskin'
44
inputs:
5-
sourceColumnId:
5+
source_column_id:
66
description: "Id of the source project column"
77
required: true
8-
targetColumnId:
8+
target_column_id:
99
description: "Id of the target project column"
1010
required: true
1111
github_token:

dist/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,8 +2250,8 @@ function ensureCard(card, index, targetColumn) {
22502250
function run() {
22512251
return __awaiter(this, void 0, void 0, function* () {
22522252
try {
2253-
const sourceColumnId = core.getInput('sourceColumnId');
2254-
const targetColumnId = core.getInput('targetColumnId');
2253+
const sourceColumnId = core.getInput('source_column_id');
2254+
const targetColumnId = core.getInput('target_column_id');
22552255
const response = yield github(queries.GET_PROJECT_COLUMNS, {
22562256
sourceColumnId,
22572257
targetColumnId,

src/main.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ async function ensureCard(
101101

102102
async function run(): Promise<void> {
103103
try {
104-
const sourceColumnId = core.getInput('sourceColumnId')
105-
const targetColumnId = core.getInput('targetColumnId')
104+
const sourceColumnId = core.getInput('source_column_id')
105+
const targetColumnId = core.getInput('target_column_id')
106106

107107
const response = await github(queries.GET_PROJECT_COLUMNS, {
108108
sourceColumnId,

0 commit comments

Comments
 (0)