Skip to content

Commit

Permalink
Add addon validation action on push/pr
Browse files Browse the repository at this point in the history
  • Loading branch information
clement-dufour committed Aug 20, 2024
1 parent 7346dfd commit 7c9c62e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/dependabot.yml
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"
24 changes: 24 additions & 0 deletions .github/workflows/addon-validation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# 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

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

0 comments on commit 7c9c62e

Please sign in to comment.