Skip to content

fix: adding twine (#8) #15

fix: adding twine (#8)

fix: adding twine (#8) #15

name: Release PR Create
on:
pull_request:
types: [ opened ]
branches: [ main ]
env:
ARTIFACT_BASE_NAME: mdps-ds-lib
PR_NUMBER: ${{ github.event.number }}
PR_TITLE: ${{ github.event.pull_request.title }}
GH_TOKEN: ${{ github.token }}
jobs:

Check failure on line 12 in .github/workflows/release_pr_create.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/release_pr_create.yml

Invalid workflow file

You have an error in your yaml syntax on line 12
if: !(contains(github.event.pull_request.title, 'update version + change log'))
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: '3.9'
- run: |
echo "${PR_TITLE} -- ${PR_NUMBER}"
- run: |
python3 "${GITHUB_WORKSPACE}/.ci/update_setup_version.py" RELEASE
- run: |
chmod +x "${GITHUB_WORKSPACE}/.ci/update_version_commit.sh"
"${GITHUB_WORKSPACE}/.ci/update_version_commit.sh"