diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..5ace460 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,6 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "weekly" diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml new file mode 100644 index 0000000..0dce1d7 --- /dev/null +++ b/.github/workflows/validate-pr.yml @@ -0,0 +1,27 @@ +--- +name: Validate Pull Request + +on: + pull_request_target: + types: + - opened + - edited + - synchronize + - reopened + workflow_call: + +jobs: + validate_pr_title: + name: Validate Pull Request Title + runs-on: ubuntu-latest + + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Validate PR Title with Conventional Commit + uses: CondeNast/conventional-pull-request-action@v0.2.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + commitTitleMatch: "false" diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..5120104 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "github.vscode-github-actions" + ] +}