Add CI/release workflows, artifacthub-pkg.yml, and package.json

- Add .github/workflows/ci.yaml (calls plugin-ci from .github repo)
- Add .github/workflows/release.yaml (calls plugin-release from .github repo)
- Add artifacthub-pkg.yml for ArtifactHub distribution
- Add package.json with headlamp-plugin scripts
- Add README.md

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Hugh Hackman
2026-04-21 20:05:49 +00:00
parent 764facaa11
commit 86ef11f8e6
5 changed files with 122 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
ci:
uses: privilegedescalation/.github/.github/workflows/plugin-ci.yaml@main
+24
View File
@@ -0,0 +1,24 @@
name: Release
on:
workflow_dispatch:
inputs:
version:
description: 'Release version (e.g. 1.0.0)'
required: true
type: string
repository_dispatch:
types: [release]
permissions:
contents: write
pull-requests: write
jobs:
release:
uses: privilegedescalation/.github/.github/workflows/plugin-release.yaml@main
secrets:
RELEASE_APP_ID: ${{ secrets.RELEASE_APP_ID }}
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
with:
version: ${{ inputs.version || github.event.client_payload.version }}