Skip to content

Commit

Permalink
Set up maintainance workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
urob committed Dec 10, 2024
1 parent 747b1f9 commit eb95c3e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Create a new module release
on:
pull_request:
types:
- closed
branches:
- main

jobs:
build:
permissions:
contents: write
uses: urob/zmk-modules-actions/.github/workflows/upgrade-module.yml@main
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Run tests

on:
workflow_dispatch:
push:
paths:
- ".github/workflows/test.yml"
- "tests/**"
- "src/**"
- "include/**"
pull_request:
paths:
- ".github/workflows/test.yml"
- "tests/**"
- "src/**"
- "include/**"

jobs:
build:
uses: urob/zmk-modules-actions/.github/workflows/run-tests.yml@main
13 changes: 13 additions & 0 deletions .github/workflows/upgrade-zmk.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Check for new ZMK releases

on:
workflow_dispatch:
schedule:
- cron: "0 22 * * *" # Run daily at 22:00 UTC (17:00 ET)

jobs:
build:
uses: urob/zmk-modules-actions/.github/workflows/upgrade-zmk.yml@main
permissions:
contents: write
secrets: inherit

0 comments on commit eb95c3e

Please sign in to comment.