Add new app scaffold: KinoveaKinovea (issue #121)#122
Merged
aaronparker merged 11 commits intofixesfrom Apr 2, 2026
Merged
Conversation
Update SQL Server Management Studio (SSMS) Versions
Add an ISSUE_TEMPLATE for requesting new GitHub-hosted applications and a GitHub Actions workflow to validate requests and generate scaffolding. The workflow triggers on issue events with the 'github-hosted app' label, parses and validates form fields (URLs, repo format, updater field), verifies the target repository via GraphQL (public, not archived, owner verified), derives an app ID, ensures files don't already exist, copies and customizes a sample PowerShell app and JSON manifest using sed and jq, and opens a pull request with the generated files. It also comments on the issue with validation errors or the created PR URL. This automates and standardizes adding new app scaffolds from issue requests.
When a repository owner is not verified, add a "not-verified" label to the issue and update the issue comment to inform maintainers that automation will continue. This removes the previous behavior that failed and returned (core.setFailed/return), allowing the workflow to proceed while flagging the issue for review. Changes are in the new-github-app-from-issue workflow.
Pass GH_TOKEN to peter-evans/create-pull-request (using secrets.PAT_TOKEN or falling back to secrets.GITHUB_TOKEN) and remove the app_id suffix from the generated branch name, now using automation/new-github-app-<issue-number>. This ensures the action has an explicit token and avoids overly long or potentially invalid branch names.
Replace the peter-evans/create-pull-request action with an explicit git + gh CLI flow: set git user, create and push a branch, commit generated files, and create a PR via gh. Introduces env vars (APP_ID, APP_FILE, MANIFEST_FILE, ISSUE_NUMBER, APP_NAME, REPO_URL) and writes the PR URL to GITHUB_OUTPUT as pull_request_url. Update the subsequent issue-comment step to use the new pull_request_url output (and remove the unused PR number check). This removes the external action and centralizes PR creation logic in the workflow.
Add required 'Vendor name' and 'Application name' inputs to the new GitHub App issue template and update the workflow to parse, validate, and output those fields. The workflow now reads vendor/application values, reports errors if missing, exposes vendor_name and application_name outputs, and uses them when building app metadata (raw_name now combines vendor + application) and when generating scaffolding/manifests.
1 task
Switch Get-KinoveaKinovea.ps1 from the releases API to the tags endpoint: fetch and sort repo tags with Get-GitHubRepoTag, select the latest tag, and emit a PSCustomObject with Version, Type and resolved URI. Remove legacy Get-GitHubRepoRelease call and adjust minor code style (attribute spacing). Update Manifests/KinoveaKinovea.json to reflect the new flow: move release info under Get.Update using the tags URI, add Download.ReplaceText and a versioned Download.Uri template, clear Install.Setup, and remove the obsolete Notes block.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Automatically generated scaffold for a new GitHub-hosted application request.
Source issue: #121, #118
Requested app: Kinovea
GitHub repository: https://github.com/Kinovea/Kinovea
Generated files:
Apps/Get-KinoveaKinovea.ps1Manifests/KinoveaKinovea.json