forked from joshjowen/script.json-cec
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add addon validation action on push/pr
- Loading branch information
1 parent
7346dfd
commit a7763a9
Showing
2 changed files
with
35 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Set update schedule for GitHub Actions | ||
# https://docs.github.com/fr/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot | ||
version: 2 | ||
updates: | ||
|
||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
# Check for updates to GitHub Actions every week | ||
interval: "weekly" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# https://github.com/xbmc/action-kodi-addon-checker?tab=readme-ov-file#example-usage | ||
name: Addon Validation | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
kodi-addon-checker: | ||
name: Kodi Addon checker | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
|
||
steps: | ||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 1 | ||
|
||
- name: Validate Addon | ||
uses: xbmc/[email protected] | ||
with: | ||
kodi-version: nexus | ||
addon-id: ${{ github.event.repository.name }} | ||
is-pr: false |