Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TIS-1511] Ajustes no Jira | Action passa dependendo do evento que a acionou mesmo quando não encontra uma issue #6

Merged
merged 1 commit into from
Oct 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions jira-issue-required/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,14 @@ runs:
JIRA_API_TOKEN: ${{ inputs.jira_api_token }}

- name: Find Issue Key
id: find-issue-key
uses: atlassian/gajira-find-issue-key@v3
with:
string: ${{ env.POSSIBLE_ISSUE_REFERENCE }}

- name: Fail if not found
if: steps.find-issue-key.outputs.issue == '' || steps.find-issue-key.outputs.issue == null
shell: bash
run: |
echo "Issue not found in '${{ env.POSSIBLE_ISSUE_REFERENCE }}'!"
exit 1