diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..284dd21 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +--- +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + commit-message: + prefix: "ci" + schedule: + interval: "weekly" + day: "sunday" diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000..22dee6d --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,24 @@ +--- +ci: + - .github/workflows/* + +docs: + - "**/*.md" + +Alacritty: + - alacritty/**/* + +Helix: + - helix/**/* + +Neovim: + - neovim/**/* + +Vim: + - vim/**/* + +Wezterm: + - wezterm/**/* + +zsh: + - zsh/**/* diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml new file mode 100644 index 0000000..3dc5f98 --- /dev/null +++ b/.github/workflows/pr.yml @@ -0,0 +1,36 @@ +--- +name: PR +on: + - pull_request + +jobs: + labels: + name: Labels + runs-on: ubuntu-latest + permissions: + pull-requests: write + contents: read + steps: + - name: Add labels based on changes + uses: actions/labeler@v4.3.0 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + + title: + name: Title + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - name: Check title + uses: amannn/action-semantic-pull-request@v5.4.0 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + scopes: | + alacritty + helix + neovim + vim + wezterm + zsh