diff --git a/.github/workflows/changelo.yml b/.github/workflows/changelo.yml index a7c2057..10e2aef 100644 --- a/.github/workflows/changelo.yml +++ b/.github/workflows/changelo.yml @@ -13,15 +13,13 @@ jobs: update-changelog: runs-on: ubuntu-latest name: changelog generator - timeout-minutes: 2 # if: "!contains(github.event.head_commit.message, 'skip')" steps: # To use this repository's private action, you must check out the repository - name: Checkout uses: actions/checkout@v2.3.4 with: - fetch-depth: 0 - submodules: 'true' + fetch-depth: 5 # https://github.com/marketplace/actions/tag-changelog - name: create changelog text @@ -30,7 +28,7 @@ jobs: with: github-token: ${{ secrets.GITHUB_TOKEN }} skip-version-file: true - skip-commit: false + skip-commit: true release-count: 0 - name: read 'templates/changelog' @@ -71,6 +69,7 @@ jobs: - name: create pull request uses: peter-evans/create-pull-request@v3.8.2 + if: ${{ steps.ch.outputs.tag }} # if: ${{ steps.ch.outputs.skipped == 'true' }} # issue: https://github.com/peter-evans/create-pull-request/issues/48 id: cpr