2021-02-02 18:53:28 +03:00
|
|
|
#!/bin/sh
|
|
|
|
REPOSITORY_NAME="$(echo "$GITHUB_REPOSITORY" | cut -d/ -f 2)"
|
|
|
|
cd / && pipenv run /gh2jira sync \
|
|
|
|
--gh-url "$GITHUB_API_URL" \
|
|
|
|
--gh-token "$INPUT_GITHUB_TOKEN" \
|
|
|
|
--gh-org "$GITHUB_REPOSITORY_OWNER" \
|
|
|
|
--gh-repo "$REPOSITORY_NAME" \
|
|
|
|
--jira-url "$INPUT_JIRA_URL" \
|
|
|
|
--jira-user "$INPUT_JIRA_USER" \
|
|
|
|
--jira-token "$INPUT_JIRA_TOKEN" \
|
|
|
|
--jira-project "$INPUT_JIRA_PROJECT" \
|
2021-09-03 03:11:22 +03:00
|
|
|
--jira-labels "$INPUT_JIRA_LABELS" \
|
2021-02-23 16:53:37 +03:00
|
|
|
--direction "$INPUT_SYNC_DIRECTION" \
|
2021-06-25 03:20:40 +03:00
|
|
|
--issue-end-state "$INPUT_ISSUE_END_STATE" \
|
2021-06-25 03:24:44 +03:00
|
|
|
--issue-reopen-state "$INPUT_ISSUE_REOPEN_STATE" \
|
2021-02-23 16:53:37 +03:00
|
|
|
--state-issue -
|