Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["@commitlint/config-conventional"]
}
27 changes: 27 additions & 0 deletions .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Commitlint

on:
pull_request:
branches:
- main
- development

permissions:
contents: read
pull-requests: read

jobs:
lint:
name: Lint commit messages
runs-on: ubuntu-latest

steps:
- name: Check out repository
uses: actions/checkout@v5
with:
fetch-depth: 0

- name: Lint commits
uses: wagoid/commitlint-github-action@v6
with:
configFile: .commitlintrc.json
12 changes: 12 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -337,3 +337,15 @@ jobs:

version="${{ steps.version.outputs.value }}"
gh release create "${version}" "${{ steps.version.outputs.archive }}" --title "${version}" --notes-file "${{ steps.notes.outputs.file }}" --target "${GITHUB_SHA}"

- name: Back-merge main into development
shell: bash
run: |
set -euo pipefail

version="${{ steps.version.outputs.value }}"
pr_url="$(gh pr list --head main --base development --state open --json url --jq '.[0].url')"
if [[ -z "${pr_url}" || "${pr_url}" == "null" ]]; then
pr_url="$(gh pr create --base development --head main --title "chore: sync main into development after ${version}" --body "Automated back-merge of \`main\` into \`development\` following the ${version} release.")"
fi
echo "Back-merge PR: ${pr_url}" >> "$GITHUB_STEP_SUMMARY"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ This is a macOS screen saver based on the iconic rain of characters and symbols
```

4. In the opened Wallpaper settings, switch to **Screen Saver** and select **MatrixScreenSaver**.
5. Enjoy and donate<br>
5. Enjoy and donate — so I can invest in a developer license for signing the screen saver and make it installable with a double-click (Thanks Apple 😐)<br>
<a href="https://www.buymeacoffee.com/yesman82"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me a Coffee" width="150"></a><br>
<img src="docs/bmc_qr.png" alt="Buy Me a Coffee QR code" width="150">

Expand Down
Loading