diff --git a/.github/workflows/format-dependabot-prs.yml b/.github/workflows/format-dependabot-prs.yml new file mode 100644 index 0000000000..4f4e123fdc --- /dev/null +++ b/.github/workflows/format-dependabot-prs.yml @@ -0,0 +1,15 @@ +name: Format dependabot PR title to Totpal's commit format +on: + pull_request: + types: [opened] + branches: [master] + +jobs: + format_title: + name: Format title + if: startsWith(github.head_ref, 'dependabot-') + runs-on: ubuntu-latest + steps: + - uses: toptal/davinci-github-actions/pr-conventional-to-toptal-commits@fx-4409-adoption-of-toptal-commit-message-format + with: + github-token: ${{ secrets.TOPTAL_DEVBOT_TOKEN }}