Hotfix for actions run (#21)
* Create run-gh2jira.sh * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update action.yml * Update run-gh2jira.sh * Update run-gh2jira.sh * Update run-gh2jira.sh * Create requirements.txt * Update run-gh2jira.sh * Update action.yml * Update action.yml * Delete run-gh2jira.sh
This commit is contained in:
Родитель
43cbf77030
Коммит
5c49637eea
24
action.yml
24
action.yml
|
@ -36,5 +36,25 @@ inputs:
|
|||
required: false
|
||||
default: 'To Do'
|
||||
runs:
|
||||
using: 'docker'
|
||||
image: 'Dockerfile'
|
||||
using: composite
|
||||
steps:
|
||||
- name: Run GitHub to Jira Sync
|
||||
working-directory: ${{ github.action_path }}
|
||||
shell: bash
|
||||
run: |
|
||||
pip3 install -r requirements.txt
|
||||
REPOSITORY_NAME="$(echo "$GITHUB_REPOSITORY" | cut -d/ -f 2)"
|
||||
./gh2jira sync \
|
||||
--gh-url "$GITHUB_API_URL" \
|
||||
--gh-token "${{ inputs.github_token }}" \
|
||||
--gh-org "$GITHUB_REPOSITORY_OWNER" \
|
||||
--gh-repo "$REPOSITORY_NAME" \
|
||||
--jira-url "${{ inputs.jira_url }}" \
|
||||
--jira-user "${{ inputs.jira_user }}" \
|
||||
--jira-token "${{ inputs.jira_token }}" \
|
||||
--jira-project "${{ inputs.jira_project }}" \
|
||||
--jira-labels "${{ inputs.jira_labels }}" \
|
||||
--direction "${{ inputs.sync_direction }}" \
|
||||
--issue-end-state "${{ inputs.issue_end_state }}" \
|
||||
--issue-reopen-state "${{ inputs.issue_reopen_state }}" \
|
||||
--state-issue -
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
flask~=2.0.0
|
||||
requests~=2.26.0
|
||||
jira~=3.0.0
|
Загрузка…
Ссылка в новой задаче