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

TEST FOR demisto-sdk-release 1.31.0 #35657

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
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
10 changes: 3 additions & 7 deletions .github/workflows/update-demisto-sdk-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ on:
description: The SDK release version
required: true
type: string
release_changes:
description: The SDK release changes
required: true
type: string
is_draft:
description: Is draft pull request
required: false
Expand Down Expand Up @@ -48,7 +44,7 @@ jobs:
git config --global user.email "bot@demisto.com"
git config --global user.name "Content Bot"
git checkout -b ${{ inputs.release_version }}

- name: Update dependencies
continue-on-error: true
run: |
Expand All @@ -65,10 +61,10 @@ jobs:
git push origin ${{ inputs.release_version }}
if ${{ inputs.is_draft == true }}; then
echo "creating draft release pull request"
gh pr create -B master -H ${{ inputs.release_version }} --title "demisto-sdk-release ${{ inputs.release_version }}" --body "${{ inputs.release_changes }}" --reviewer ${{ inputs.reviewer }} -l "docs-approved" --draft
gh pr create -B master -H ${{ inputs.release_version }} --title "demisto-sdk-release ${{ inputs.release_version }}" --body "initial body, will be replaced" --reviewer ${{ inputs.reviewer }} -l "docs-approved" --draft
else
echo "creating release pull request"
gh pr create -B master -H ${{ inputs.release_version }} --title "demisto-sdk-release ${{ inputs.release_version }}" --body "${{ inputs.release_changes }}" --reviewer ${{ inputs.reviewer }} -l "docs-approved"
gh pr create -B master -H ${{ inputs.release_version }} --title "demisto-sdk-release ${{ inputs.release_version }}" --body "initial body, will be replaced" --reviewer ${{ inputs.reviewer }} -l "docs-approved"
fi
env:
GH_TOKEN: ${{ secrets.CONTENTBOT_GH_ADMIN_TOKEN }}
8 changes: 4 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ python = "^3.8,<3.11"
defusedxml = "^0.7.1"

[tool.poetry.group.dev.dependencies]
demisto-sdk = "1.31.4"
demisto-sdk = "1.31.0"
requests = "^2.22.0"
pre-commit = "^3.5.0"
dateparser = "^1.1.8"
Expand Down