Skip to content

Add new app scaffold: KinoveaKinovea (issue #121)#122

Merged
aaronparker merged 11 commits intofixesfrom
automation/new-github-app-121
Apr 2, 2026
Merged

Add new app scaffold: KinoveaKinovea (issue #121)#122
aaronparker merged 11 commits intofixesfrom
automation/new-github-app-121

Conversation

@aaronparker
Copy link
Copy Markdown
Collaborator

@aaronparker aaronparker commented Mar 23, 2026

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.ps1
  • Manifests/KinoveaKinovea.json

github-actions Bot and others added 10 commits March 17, 2026 09:53
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.
@aaronparker aaronparker added the New application Adds a new application label Mar 23, 2026
@github-actions github-actions Bot mentioned this pull request Mar 23, 2026
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.
@aaronparker aaronparker changed the base branch from main to fixes April 2, 2026 22:06
@aaronparker aaronparker merged commit d11b687 into fixes Apr 2, 2026
7 checks passed
@aaronparker aaronparker deleted the automation/new-github-app-121 branch April 2, 2026 22:09
@aaronparker aaronparker mentioned this pull request Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

New application Adds a new application

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant