name: Update docs version

on:
  release:
    types: [ published ]

jobs:
  build:
    if: github.repository == 'testcontainers/testcontainers-java'
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          ref: master
      - name: Update latest_version property in mkdocs.yml
        run: |
          sed -i "s/latest_version: .*/latest_version: ${GITHUB_REF##*/}/g" mkdocs.yml
          git diff
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@f22a7da129c901513876a2380e2dae9f8e145330 # v3.10.1
        with:
          title: Update docs version to ${GITHUB_REF##*/}
          body: |
            Update docs version to ${GITHUB_REF##*/}
            skip-checks: true
          branch: update-docs-version
          delete-branch: true

name: Update docs version

on:
  release:
    types: [ published ]

jobs:
  build:
    if: github.repository == 'testcontainers/testcontainers-java'
    runs-on: ubuntu-18.04
    steps:
      - uses: actions/checkout@v2
        with:
          ref: master
      - name: Update latest_version property in mkdocs.yml
        run: |
          sed -i "s/latest_version: .*/latest_version: ${GITHUB_REF##*/}/g" mkdocs.yml
          git diff
      - name: Create Pull Request
        uses: peter-evans/create-pull-request@f1a7646cead32c950d90344a4fb5d4e926972a8f # v3.10.1
        with:
          title: Update docs version to ${GITHUB_REF##*/}
          body: |
            Update docs version to ${GITHUB_REF##*/}
            skip-checks: true
          branch: update-docs-version
          delete-branch: true

Bump peter-evans/create-pull-request from 3.12.1 to 4.0.1
Bump peter-evans/create-pull-request from 3.12.1 to 4.0.1

Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3.12.1 to 4.0.1.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/f22a7da129c901513876a2380e2dae9f8e145330...f1a7646cead32c950d90344a4fb5d4e926972a8f)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <5bdcd3c0d4d24ae3e71b3b452a024c6324c7e4bb@github.com>