From e5f7d4ec375cd97f4060f162005a7bbdb1dd68d2 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:05 -0500 Subject: [PATCH 01/25] docs: add contributing guidelines --- CONTRIBUTING.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..2eb66f3 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,17 @@ +# Contributing to react-starter-template + +Thanks for your interest in contributing. + +## How to contribute +1. Open an Issue describing the problem or feature request. +2. Fork the repository and create a feature branch. +3. Keep changes focused and add tests when applicable. +4. Submit a Pull Request referencing the Issue. + +## Development standards +- Follow the existing style and tooling in the repository. +- Prefer small, reviewable PRs. +- Document user-facing changes in the README or docs. + +## Security +If you believe you have found a security issue, please follow SECURITY.md. From 523cf767b76c63d2287dce773cb2cc705465e2ed Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:06 -0500 Subject: [PATCH 02/25] docs: add code of conduct --- CODE_OF_CONDUCT.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 CODE_OF_CONDUCT.md diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md new file mode 100644 index 0000000..08d577a --- /dev/null +++ b/CODE_OF_CONDUCT.md @@ -0,0 +1,12 @@ +# Code of Conduct + +This project follows the Contributor Covenant Code of Conduct. + +## Our pledge +We pledge to make participation in our community a harassment-free experience for everyone. + +## Enforcement +Report unacceptable behavior via the contact method in SUPPORT.md or SECURITY.md (if security-related). + +## Attribution +Contributor Covenant: https://www.contributor-covenant.org/ From 88cbee4e0f47f0d253ce09ea9c3901ffc8149aed Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:07 -0500 Subject: [PATCH 03/25] docs: add citation metadata --- CITATION.cff | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 CITATION.cff diff --git a/CITATION.cff b/CITATION.cff new file mode 100644 index 0000000..d9227f2 --- /dev/null +++ b/CITATION.cff @@ -0,0 +1,8 @@ +cff-version: 1.2.0 +message: "If you use this software, please cite it." +title: "react-starter-template" +type: software +authors: + - name: "Notoriousjayy" +date-released: "2026-01-19" +url: "https://github.com/Notoriousjayy/react-starter-template" From 3e115642dae53208263b420a7df9db16ea48c417 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:09 -0500 Subject: [PATCH 04/25] docs: add security policy --- SECURITY.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 SECURITY.md diff --git a/SECURITY.md b/SECURITY.md new file mode 100644 index 0000000..4da6329 --- /dev/null +++ b/SECURITY.md @@ -0,0 +1,15 @@ +# Security Policy + +## Supported versions +Security updates are provided for the latest release (or default branch if no releases exist). + +## Reporting a vulnerability +Please do not open public issues for security vulnerabilities. + +Instead: +1. Contact the maintainer: @Notoriousjayy +2. Provide a clear description, steps to reproduce, and impact. +3. Include affected versions and any proof-of-concept if available. + +## Response timeline +We aim to acknowledge reports within 72 hours and provide remediation guidance as soon as feasible. From e42365386f7ad815097f243504f366703228528a Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:10 -0500 Subject: [PATCH 05/25] docs: add support guidelines --- SUPPORT.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 SUPPORT.md diff --git a/SUPPORT.md b/SUPPORT.md new file mode 100644 index 0000000..ee63efa --- /dev/null +++ b/SUPPORT.md @@ -0,0 +1,11 @@ +# Support + +## Getting help +- Use GitHub Discussions for Q&A and design topics. +- Use Issues for bug reports and actionable work items. + +## What to include +- What you expected vs what happened +- Steps to reproduce +- Versions (OS, runtime, dependencies) +- Logs or screenshots when applicable From b04db5f2dba210f7d3b0f5e0b8f6c6eb8d4820ff Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:11 -0500 Subject: [PATCH 06/25] chore: add funding configuration --- .github/FUNDING.yml | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/FUNDING.yml diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml new file mode 100644 index 0000000..63bb60c --- /dev/null +++ b/.github/FUNDING.yml @@ -0,0 +1 @@ +github: [Notoriousjayy] From 28c1c750e062bd6b2e6b023bc5d39976299fa472 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:13 -0500 Subject: [PATCH 07/25] chore: add CODEOWNERS --- .github/CODEOWNERS | 1 + 1 file changed, 1 insertion(+) create mode 100644 .github/CODEOWNERS diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..902a285 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1 @@ +* @Notoriousjayy From b8aac0ddb7a779509f508ef9022cc9349d3db51b Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:14 -0500 Subject: [PATCH 08/25] docs: add usage documentation --- docs/USAGE.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 docs/USAGE.md diff --git a/docs/USAGE.md b/docs/USAGE.md new file mode 100644 index 0000000..356a71e --- /dev/null +++ b/docs/USAGE.md @@ -0,0 +1,14 @@ +# Usage + +This document describes how to use **react-starter-template**. + +## Quick start +- Describe installation +- Describe configuration +- Provide a minimal example + +## Examples +- Add examples relevant to this repository + +## Troubleshooting +- Common errors and how to resolve them From 26046989926b393df34184bc1b3145a01cc424ce Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:15 -0500 Subject: [PATCH 09/25] docs: add help documentation --- docs/HELP.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 docs/HELP.md diff --git a/docs/HELP.md b/docs/HELP.md new file mode 100644 index 0000000..2a9678d --- /dev/null +++ b/docs/HELP.md @@ -0,0 +1,11 @@ +# Help + +This file provides operational help for **react-starter-template**. + +## Common tasks +- Build / run +- Test +- Lint / format + +## Where to ask questions +Use Discussions for Q&A and Issues for bugs/requests. From 21e0bab39fde7903ef98cf84c4d3f77ba347b3f4 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:17 -0500 Subject: [PATCH 10/25] docs: add bug report form --- .github/ISSUE_TEMPLATE/bug_report.yml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/bug_report.yml diff --git a/.github/ISSUE_TEMPLATE/bug_report.yml b/.github/ISSUE_TEMPLATE/bug_report.yml new file mode 100644 index 0000000..aa23aed --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug_report.yml @@ -0,0 +1,30 @@ +name: Bug report +description: Report a reproducible bug +title: "[Bug]: " +labels: ["bug"] +body: + - type: textarea + id: what-happened + attributes: + label: What happened? + description: Describe the bug and what you expected. + placeholder: Steps, expected vs actual... + validations: + required: true + - type: textarea + id: steps + attributes: + label: Steps to reproduce + placeholder: 1) ... 2) ... 3) ... + validations: + required: true + - type: input + id: version + attributes: + label: Version / commit + placeholder: e.g., v1.2.3 or commit SHA + - type: textarea + id: logs + attributes: + label: Relevant logs / output + render: shell From 25dd192562a6e534bffbaf351e478e8b5a895133 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:18 -0500 Subject: [PATCH 11/25] docs: add feature request form --- .github/ISSUE_TEMPLATE/feature_request.yml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/feature_request.yml diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml new file mode 100644 index 0000000..2735358 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/feature_request.yml @@ -0,0 +1,23 @@ +name: Feature request +description: Propose a new feature or enhancement +title: "[Feature]: " +labels: ["enhancement"] +body: + - type: textarea + id: problem + attributes: + label: Problem statement + description: What problem are you trying to solve? + validations: + required: true + - type: textarea + id: proposal + attributes: + label: Proposed solution + description: Describe the solution you want. + validations: + required: true + - type: textarea + id: alternatives + attributes: + label: Alternatives considered From 1ed0756a5efd7bb0416d943e7836001959458aa6 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:19 -0500 Subject: [PATCH 12/25] docs: configure issue templates --- .github/ISSUE_TEMPLATE/config.yml | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/config.yml diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml new file mode 100644 index 0000000..836a9f9 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -0,0 +1,5 @@ +blank_issues_enabled: true +contact_links: + - name: Questions / Support + url: https://github.com + about: Use Discussions for Q&A where available. From c154e582bf2f2591e7944d754e049d3cb8516f16 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:21 -0500 Subject: [PATCH 13/25] docs: add pull request template --- .github/PULL_REQUEST_TEMPLATE.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/PULL_REQUEST_TEMPLATE.md diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..46d93f0 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,13 @@ +# Summary +Describe the change and why it is needed. + +## Changes +- [ ] Feature +- [ ] Bug fix +- [ ] Refactor +- [ ] Documentation + +## Checklist +- [ ] Tests added/updated (if applicable) +- [ ] Documentation updated (if applicable) +- [ ] Security considerations reviewed From 9fc59f24be9f0ff34266f98cf0670bfc196dfa9e Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:22 -0500 Subject: [PATCH 14/25] docs: add discussion template --- .github/DISCUSSION_TEMPLATE/idea.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/DISCUSSION_TEMPLATE/idea.yml diff --git a/.github/DISCUSSION_TEMPLATE/idea.yml b/.github/DISCUSSION_TEMPLATE/idea.yml new file mode 100644 index 0000000..907a2b4 --- /dev/null +++ b/.github/DISCUSSION_TEMPLATE/idea.yml @@ -0,0 +1,13 @@ +title: "Idea" +body: + - type: textarea + id: idea + attributes: + label: Describe the idea + description: Provide context, goals, and constraints. + validations: + required: true + - type: textarea + id: success + attributes: + label: Success criteria From eaa65f991eed8e4bbe1bb3c3659e7463a0f74734 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:23 -0500 Subject: [PATCH 15/25] chore: add composite action scaffold --- .github/actions/ci-summary/action.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/actions/ci-summary/action.yml diff --git a/.github/actions/ci-summary/action.yml b/.github/actions/ci-summary/action.yml new file mode 100644 index 0000000..ac2b5e5 --- /dev/null +++ b/.github/actions/ci-summary/action.yml @@ -0,0 +1,14 @@ +name: "CI Summary" +description: "Write a standard run summary" +runs: + using: "composite" + steps: + - shell: bash + run: | + { + echo "## CI Summary" + echo "" + echo "- Workflow: $GITHUB_WORKFLOW" + echo "- Run: $GITHUB_RUN_ID" + echo "- Ref: $GITHUB_REF" + } >> "$GITHUB_STEP_SUMMARY" From 7273333c00933d384e190fa28f6a8f0f4befb457 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:25 -0500 Subject: [PATCH 16/25] chore: add reusable workflow scaffold --- .github/workflows/reusable-dependency-review.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/reusable-dependency-review.yml diff --git a/.github/workflows/reusable-dependency-review.yml b/.github/workflows/reusable-dependency-review.yml new file mode 100644 index 0000000..de39364 --- /dev/null +++ b/.github/workflows/reusable-dependency-review.yml @@ -0,0 +1,14 @@ +name: Reusable Dependency Review + +on: + workflow_call: + +permissions: + contents: read + +jobs: + dependency-review: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/dependency-review-action@v4 From 68f9e0d5699a73137329c5a7f488396e6da42189 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:26 -0500 Subject: [PATCH 17/25] chore: add Dependabot config --- .github/dependabot.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..804a773 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,9 @@ +version: 2 + +# registries: +# my-private-registry: +# type: npm-registry +# url: https://registry.npmjs.org +# token: ${{ secrets.DEPENDABOT_TOKEN }} + +updates: From 9b329b5b619ea5066c928ea8a728c5261c9da493 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:27 -0500 Subject: [PATCH 18/25] chore: add dependency review workflow --- .github/workflows/dependency-review.yml | 31 +++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/dependency-review.yml diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml new file mode 100644 index 0000000..fa0c9a3 --- /dev/null +++ b/.github/workflows/dependency-review.yml @@ -0,0 +1,31 @@ +name: Dependency Review + +on: + pull_request: + +permissions: + contents: read + +jobs: + dependency-review: + name: dependency-review + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Dependency Review + uses: actions/dependency-review-action@v4 + with: + config-file: .github/dependency-review-config.yml + + - name: Summary + if: always() + run: | + { + echo "## Dependency Review" + echo "" + echo "- Workflow: $GITHUB_WORKFLOW" + echo "- Run: $GITHUB_RUN_ID" + echo "- Ref: $GITHUB_REF" + } >> "$GITHUB_STEP_SUMMARY" From ef7d6c55ff5c7da7d418f57b0bdd9e3032d01cea Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:29 -0500 Subject: [PATCH 19/25] chore: add dependency review config --- .github/dependency-review-config.yml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .github/dependency-review-config.yml diff --git a/.github/dependency-review-config.yml b/.github/dependency-review-config.yml new file mode 100644 index 0000000..7497256 --- /dev/null +++ b/.github/dependency-review-config.yml @@ -0,0 +1,9 @@ +fail-on-severity: moderate +allow-licenses: + - MIT + - Apache-2.0 + - BSD-2-Clause + - BSD-3-Clause +deny-licenses: + - AGPL-3.0 +comment-summary-in-pr: true From 5c247e8353824ccdc3724e102acc954a5221d700 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:30 -0500 Subject: [PATCH 20/25] chore: add CodeQL workflow --- .github/workflows/codeql.yml | 41 ++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 .github/workflows/codeql.yml diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml new file mode 100644 index 0000000..380bed8 --- /dev/null +++ b/.github/workflows/codeql.yml @@ -0,0 +1,41 @@ +name: CodeQL + +on: + push: + branches: + - main + pull_request: + branches: + - main + schedule: + - cron: "30 5 * * 1" + +permissions: + contents: read + security-events: write + +jobs: + analyze: + name: Analyze + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + language: + - javascript-typescript + + steps: + - name: Checkout repository + uses: actions/checkout@v4 + + - name: Initialize CodeQL + uses: github/codeql-action/init@v3 + with: + languages: ${{ matrix.language }} + config-file: .github/codeql/codeql-config.yml + + - name: Autobuild + uses: github/codeql-action/autobuild@v3 + + - name: Perform CodeQL Analysis + uses: github/codeql-action/analyze@v3 From 12fda06ddde3d8390f567512eebe68cac4075617 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:31 -0500 Subject: [PATCH 21/25] chore: add CodeQL config --- .github/codeql/codeql-config.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/codeql/codeql-config.yml diff --git a/.github/codeql/codeql-config.yml b/.github/codeql/codeql-config.yml new file mode 100644 index 0000000..3dd5f8c --- /dev/null +++ b/.github/codeql/codeql-config.yml @@ -0,0 +1,8 @@ +name: "CodeQL config" +queries: + - uses: security-and-quality +paths-ignore: + - "**/dist/**" + - "**/build/**" + - "**/vendor/**" + - "**/node_modules/**" From fda88c4f16e7d1f07f6e101ef2d89d7ed71ed953 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:33 -0500 Subject: [PATCH 22/25] chore: add CodeQL pack scaffold --- .github/codeql/qlpack.yml | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .github/codeql/qlpack.yml diff --git a/.github/codeql/qlpack.yml b/.github/codeql/qlpack.yml new file mode 100644 index 0000000..eb6a30d --- /dev/null +++ b/.github/codeql/qlpack.yml @@ -0,0 +1,4 @@ +name: Notoriousjayy/react-starter-template-codeql-pack +version: 0.0.1 +library: true +dependencies: {} From 845f4230a3abfd7c747282189beb48e4e16929ef Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:34 -0500 Subject: [PATCH 23/25] chore: add release notes configuration --- .github/release.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 .github/release.yml diff --git a/.github/release.yml b/.github/release.yml new file mode 100644 index 0000000..ff9a6c0 --- /dev/null +++ b/.github/release.yml @@ -0,0 +1,18 @@ +changelog: + categories: + - title: "Breaking Changes" + labels: + - "breaking-change" + - title: "Features" + labels: + - "feature" + - "enhancement" + - title: "Bug Fixes" + labels: + - "bug" + - title: "Dependency Updates" + labels: + - "dependencies" + - title: "Other Changes" + labels: + - "*" From 3538c6b7a1ec0ee0f1a2aa95a2070322755d3401 Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:35 -0500 Subject: [PATCH 24/25] docs: add release request form --- .github/ISSUE_TEMPLATE/release.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/ISSUE_TEMPLATE/release.yml diff --git a/.github/ISSUE_TEMPLATE/release.yml b/.github/ISSUE_TEMPLATE/release.yml new file mode 100644 index 0000000..6dd9baa --- /dev/null +++ b/.github/ISSUE_TEMPLATE/release.yml @@ -0,0 +1,23 @@ +name: Release request +description: Propose a new release +title: "[Release]: v" +labels: ["release"] +body: + - type: input + id: version + attributes: + label: Version + placeholder: v1.2.3 + validations: + required: true + - type: textarea + id: highlights + attributes: + label: Highlights + description: What's new in this release? + validations: + required: true + - type: textarea + id: risks + attributes: + label: Risks / rollback plan From 138c9fb52e0a4b080b8ad0a233d8b76b767e40eb Mon Sep 17 00:00:00 2001 From: Jordan Suber <38364814+Notoriousjayy@users.noreply.github.com> Date: Mon, 19 Jan 2026 13:06:37 -0500 Subject: [PATCH 25/25] chore: add latest release helper workflow --- .github/workflows/get-latest-release.yml | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/get-latest-release.yml diff --git a/.github/workflows/get-latest-release.yml b/.github/workflows/get-latest-release.yml new file mode 100644 index 0000000..6ad408f --- /dev/null +++ b/.github/workflows/get-latest-release.yml @@ -0,0 +1,27 @@ +name: Get Latest Release + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + latest-release: + runs-on: ubuntu-latest + steps: + - name: Fetch latest release + uses: actions/github-script@v7 + with: + script: | + const { owner, repo } = context.repo; + try { + const rel = await github.rest.repos.getLatestRelease({ owner, repo }); + core.summary.addHeading('Latest Release') + .addRaw(`- Tag: ${rel.data.tag_name}\n- Name: ${rel.data.name || ''}\n- Published: ${rel.data.published_at}\n`) + .write(); + } catch (e) { + core.summary.addHeading('Latest Release') + .addRaw('No releases found or insufficient permissions.') + .write(); + }