Core rest api: Changed the installPack from version 8.9.0 to install as custom content. #29346
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Add PR link to Related Jira Issue | |
on: | |
pull_request: | |
types: [opened, edited] | |
permissions: | |
pull-requests: read | |
jobs: | |
add_pr_link_to_related_jira_issue: | |
runs-on: ubuntu-latest | |
if: github.repository == 'demisto/content' && github.event.pull_request.head.repo.fork == false && github.actor != 'dependabot[bot]' && startsWith(github.head_ref, 'contrib/') == false | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: "3.10" | |
- name: Setup Poetry | |
uses: Gr1N/setup-poetry@v9 | |
- uses: actions/cache@v2 | |
with: | |
path: .venv | |
key: ${{ runner.os }}-poetry-${{ hashFiles('poetry.lock') }} | |
- name: Install Python Dependencies | |
run: | | |
poetry install --with github-actions | |
- name: Run Linking pr to Jira Script | |
env: | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
PR_TITLE: ${{ github.event.pull_request.title }} | |
PR_LINK: ${{ github.event.pull_request.html_url }} | |
PR_BODY: ${{ github.event.pull_request.body }} | |
USERNAME: ${{ secrets.SECRET_CHECK_USER_NG }} | |
PASSWORD: ${{ secrets.SECRET_CHECK_PASS_NG }} | |
INSTANCE_URL: ${{ secrets.GOLD_SERVER_URL_NG }} | |
run: | | |
echo "Checking for related Jira issues to PR: $PR_NUMBER" | |
cd .github/github_workflow_scripts/jira_integration_scripts | |
echo --pr_num $PR_NUMBER --pr_link $PR_LINK --pr_title $PR_TITLE --pr_body $PR_BODY --no-is_merged | |
poetry run python ./link_pr_to_jira_issue.py --url "$INSTANCE_URL" --pr_num "$PR_NUMBER" --pr_link "$PR_LINK" --pr_title "$PR_TITLE" --pr_body "$PR_BODY" --no-is_merged --username $USERNAME --password $PASSWORD |