diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 51d4fa99462..d4b7d58a201 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,9 +5,11 @@ updates: schedule: interval: "daily" open-pull-requests-limit: 9999 - + commit-message: + prefix: "deps" - package-ecosystem: "github-actions" directory: "/" schedule: - # Check for updates to GitHub Actions every weekday interval: "daily" + commit-message: + prefix: "deps" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5d9bdb2acf3..1d764ccd0ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -267,3 +267,24 @@ jobs: run: | WORKSPACE_MEMBERS=$(cargo metadata --format-version=1 --no-deps | jq -c '.packages | .[] | select(.publish == null) | .name' | jq -s '.' | jq -c '.') echo "members=${WORKSPACE_MEMBERS}" >> $GITHUB_OUTPUT + + validate_pr_title: + name: Validate PR title + runs-on: ubuntu-latest + if: ${{ github.event_name == 'pull_request' }} + steps: + - uses: amannn/action-semantic-pull-request@01d5fd8a8ebb9aafe902c40c53f0f4744f7381eb # v5.0.2 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + # Configure which types are allowed (newline delimited). + types: | + feat + fix + chore + docs + deps + test + ci + refactor + require_scope: false