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",