From e35cce40884a272cd122e30d9affc966d80e0eaa Mon Sep 17 00:00:00 2001 From: cortadocodes Date: Tue, 27 Jul 2021 21:33:00 +0100 Subject: [PATCH] OPS: Use new PR description workflow --- .github/workflows/update-pull-request.yml | 6 +++--- setup.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/update-pull-request.yml b/.github/workflows/update-pull-request.yml index e1762e5..3672f6d 100644 --- a/.github/workflows/update-pull-request.yml +++ b/.github/workflows/update-pull-request.yml @@ -14,7 +14,7 @@ on: jobs: description: - if: "!contains(github.event.pull_request.head.message, 'skip_ci_update_description')" + if: "!contains(github.event.head_commit.message, 'skip_ci_update_description')" runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -26,8 +26,8 @@ jobs: - name: Compile new pull request description run: | echo 'PULL_REQUEST_NOTES<> $GITHUB_ENV - echo "$(compile-release-notes LAST_RELEASE '${{ github.event.pull_request.body }}')" >> $GITHUB_ENV - echo 'EOF' >> $GITHUB_ENV + echo "$(compile-release-notes LAST_RELEASE ${{ github.event.pull_request.url }} ${{ secrets.GITHUB_TOKEN }})" >> $GITHUB_ENV + echo EOF >> $GITHUB_ENV - name: Update pull request body uses: riskledger/update-pr-description@v2 with: diff --git a/setup.py b/setup.py index 07add6c..25605bd 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ setup( name="twined", - version="0.0.24", + version="0.0.25", py_modules=[], install_requires=["jsonschema ~= 3.2.0", "python-dotenv"], url="https://www.github.com/octue/twined",