Skip to content

Commit f9ab765

Browse files
committed
chore: upd @lingodotdev GitHub Action
1 parent a198ce9 commit f9ab765

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

action.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ runs:
1010
using: "composite"
1111
steps:
1212
- name: Run
13-
run: |
14-
npx lingo.dev@latest ci \
15-
--api-key ${{ inputs.api-key }} \
16-
--pull-request ${{ inputs.pull-request }} \
17-
--commit-message ${{ inputs.commit-message }} \
18-
--pull-request-title ${{ inputs.pull-request-title }} \
19-
--working-directory ${{ inputs.working-directory }} \
20-
--process-own-commits ${{ inputs.process-own-commits }}
13+
run: npx lingo.dev@latest ci --api-key ${{ inputs.api-key }}
2114
shell: bash
15+
env:
16+
LINGODOTDEV_API_KEY: ${{ inputs.api-key }}
17+
LINGODOTDEV_PULL_REQUEST: ${{ inputs.pull-request }}
18+
LINGODOTDEV_COMMIT_MESSAGE: ${{ inputs.commit-message }}
19+
LINGODOTDEV_PULL_REQUEST_TITLE: ${{ inputs.pull-request-title }}
20+
LINGODOTDEV_WORKING_DIRECTORY: ${{ inputs.working-directory }}
21+
LINGODOTDEV_PROCESS_OWN_COMMITS: ${{ inputs.process-own-commits }}
2222
inputs:
2323
api-key:
2424
description: "Lingo.dev Platform API Key"

0 commit comments

Comments
 (0)