From 9d7ebc1ca5875086d0372b2c5f9ade9842ed8c8a Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 21 Nov 2025 13:23:42 +0000
Subject: [PATCH 1/3] Initial plan
From 024b62683472c13b65cf4a250a0c09ebbfa813e5 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 21 Nov 2025 13:28:05 +0000
Subject: [PATCH 2/3] Add schemas types to fix build
Co-authored-by: ninjaninja140 <88348015+ninjaninja140@users.noreply.github.com>
---
README.md | 26 +++++++++++++-------------
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/README.md b/README.md
index 3dec21a..768b4a7 100644
--- a/README.md
+++ b/README.md
@@ -45,7 +45,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
## Workflows:
#### [Node Package Publish](#.github/workflows/Package-Publish.yml)
-* Component link: `Bracketed/Workflows/.github/workflows/Package-Publish.yml@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/.github/workflows/Package-Publish.yml)
+* Component link: `Bracketed/Workflows/.github/workflows/Package-Publish.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Package-Publish.yml)
* Description: Publish a node package to the NPM registry
**Inputs:**
@@ -91,11 +91,11 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [README.md Updater](#.github/workflows/Repository-Update.yml)
-* Component link: `Bracketed/Workflows/.github/workflows/Repository-Update.yml@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/.github/workflows/Repository-Update.yml)
+* Component link: `Bracketed/Workflows/.github/workflows/Repository-Update.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Repository-Update.yml)
* Description: Automatically updates the README.md file of this repository, this is NOT a reusable workflow
#### [Build Rojo Project](#.github/workflows/Rojo-Build.yml)
-* Component link: `Bracketed/Workflows/.github/workflows/Rojo-Build.yml@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/.github/workflows/Rojo-Build.yml)
+* Component link: `Bracketed/Workflows/.github/workflows/Rojo-Build.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Rojo-Build.yml)
* Description: Build a Rojo Project with Aftman
**Inputs:**
@@ -167,7 +167,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `boolean`
#### [Package.json Version Check](#.github/workflows/Version-Check.yml)
-* Component link: `Bracketed/Workflows/.github/workflows/Version-Check.yml@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/.github/workflows/Version-Check.yml)
+* Component link: `Bracketed/Workflows/.github/workflows/Version-Check.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Version-Check.yml)
* Description: Check the package.json version for a new version or same version
**Inputs:**
@@ -204,7 +204,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Cancel Workflow](#.github/workflows/Workflow-Cancel.yml)
-* Component link: `Bracketed/Workflows/.github/workflows/Workflow-Cancel.yml@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/.github/workflows/Workflow-Cancel.yml)
+* Component link: `Bracketed/Workflows/.github/workflows/Workflow-Cancel.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Workflow-Cancel.yml)
* Description: Cancel a Github Actions Workflow with the gh CLI
**Inputs:**
@@ -220,7 +220,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
## Actions:
#### [Install dependencies with Yarn](#actions/add-yarn-dependencies/action.yml)
-* Component link: `Bracketed/Workflows/actions/add-yarn-dependencies@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/add-yarn-dependencies/action.yml)
+* Component link: `Bracketed/Workflows/actions/add-yarn-dependencies@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/add-yarn-dependencies/action.yml)
* Description: Setup Node and install dependencies using Yarn.
**Inputs:**
@@ -238,7 +238,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Configure Git CLI](#actions/git-configure/action.yml)
-* Component link: `Bracketed/Workflows/actions/git-configure@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/git-configure/action.yml)
+* Component link: `Bracketed/Workflows/actions/git-configure@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/git-configure/action.yml)
* Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
**Inputs:**
@@ -248,7 +248,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Install Aftman](#actions/install-aftman/action.yml)
-* Component link: `Bracketed/Workflows/actions/install-aftman@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/install-aftman/action.yml)
+* Component link: `Bracketed/Workflows/actions/install-aftman@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-aftman/action.yml)
* Description: Github action to install the Aftman toolchain manager - A fork of ok-nic/setup-aftman
**Inputs:**
@@ -270,7 +270,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Install dependencies with NPM](#actions/install-npm-dependencies/action.yml)
-* Component link: `Bracketed/Workflows/actions/install-npm-dependencies@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/install-npm-dependencies/action.yml)
+* Component link: `Bracketed/Workflows/actions/install-npm-dependencies@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-npm-dependencies/action.yml)
* Description: Setup Node and install dependencies using NPM.
**Inputs:**
@@ -288,7 +288,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Configure Git CLI](#actions/install-rokit/action.yml)
-* Component link: `Bracketed/Workflows/actions/install-rokit@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/install-rokit/action.yml)
+* Component link: `Bracketed/Workflows/actions/install-rokit@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-rokit/action.yml)
* Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
**Inputs:**
@@ -311,7 +311,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Generate Self-hosted Runner Token](#actions/make-runner/action.yml)
-* Component link: `Bracketed/Workflows/actions/make-runner@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/make-runner/action.yml)
+* Component link: `Bracketed/Workflows/actions/make-runner@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/make-runner/action.yml)
* Description: Generate a token for a self-hosted GitHub Actions runner.
**Inputs:**
@@ -325,7 +325,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
#### [Set Memory Swap Space](#actions/set-swap-space/action.yml)
-* Component link: `Bracketed/Workflows/actions/set-swap-space@main` [[Source]](https://github.com/Bracketed/Workflows/blob/main/actions/set-swap-space/action.yml)
+* Component link: `Bracketed/Workflows/actions/set-swap-space@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/set-swap-space/action.yml)
* Description: Add more swap space for memory in Gigabytes - By `pierotofy/set-swap-space`
**Inputs:**
@@ -336,7 +336,7 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Type: `string`
* * *
-_Last Edited by ninjaninja140 at 21/11/2025 in **[09495f2](Bracketed/Workflows.git/commit/09495f2059e51156f48037ee56c159d055d2f0a7)**_
+_Last Edited by copilot-swe-agent[bot] at 21/11/2025 in **[9d7ebc1](Bracketed/Workflows/commit/9d7ebc1ca5875086d0372b2c5f9ade9842ed8c8a)**_
- This repo automatically generates its README.md file, feel free to take a look or use the code in this repo!
* * *
From d6f963166ce75949b1b1dece3b121dee28e2156b Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Fri, 21 Nov 2025 13:33:42 +0000
Subject: [PATCH 3/3] Fix anchor links and add example usage to README builder
Co-authored-by: ninjaninja140 <88348015+ninjaninja140@users.noreply.github.com>
---
README.md | 185 +++++++++++++++++++++----
src/components/base.tsx | 88 ++++++------
src/components/date-footer.tsx | 66 ++++-----
src/components/footer.tsx | 88 ++++++------
src/components/glossary.tsx | 73 +++++-----
src/components/index.ts | 10 +-
src/components/item.tsx | 173 +++++++++++++++--------
src/finder.ts | 136 +++++++++---------
src/index.ts | 198 +++++++++++++--------------
src/types/ac_input.d.ts | 52 +++----
src/types/action-workflow.d.ts | 16 +--
src/types/datamap.d.ts | 30 ++--
src/types/index.d.ts | 18 +--
src/types/input.d.ts | 42 +++---
src/types/item.d.ts | 26 ++--
src/types/wf_call.d.ts | 106 +++++++-------
src/types/wf_input.d.ts | 16 +--
src/types/workflow.d.ts | 10 +-
src/utils/getBranch.ts | 30 ++--
src/utils/getLatestCommitFullHash.ts | 30 ++--
src/utils/getLatestCommitHash.ts | 30 ++--
src/utils/getLatestCommitUser.ts | 30 ++--
src/utils/getRepository.ts | 38 ++---
src/utils/index.ts | 17 +--
src/utils/isType.ts | 42 +++---
src/utils/parseURL.ts | 18 +--
src/utils/strip-first.ts | 16 +--
src/utils/toAnchorId.ts | 16 +++
28 files changed, 909 insertions(+), 691 deletions(-)
create mode 100644 src/utils/toAnchorId.ts
diff --git a/README.md b/README.md
index 768b4a7..b109ada 100644
--- a/README.md
+++ b/README.md
@@ -27,23 +27,23 @@ A few of the actions or workflows used in this repository are forks of `sapphire
#### Workflows:
-* [Node Package Publish](#.github/workflows/Package-Publish.yml)
-* [README.md Updater](#.github/workflows/Repository-Update.yml)
-* [Build Rojo Project](#.github/workflows/Rojo-Build.yml)
-* [Package.json Version Check](#.github/workflows/Version-Check.yml)
-* [Cancel Workflow](#.github/workflows/Workflow-Cancel.yml)
+* [Node Package Publish](#node-package-publish)
+* [README.md Updater](#readme-md-updater)
+* [Build Rojo Project](#build-rojo-project)
+* [Package.json Version Check](#package-json-version-check)
+* [Cancel Workflow](#cancel-workflow)
#### Actions:
-* [Install dependencies with Yarn](#actions/add-yarn-dependencies/action.yml)
-* [Configure Git CLI](#actions/git-configure/action.yml)
-* [Install Aftman](#actions/install-aftman/action.yml)
-* [Install dependencies with NPM](#actions/install-npm-dependencies/action.yml)
-* [Configure Git CLI](#actions/install-rokit/action.yml)
-* [Generate Self-hosted Runner Token](#actions/make-runner/action.yml)
-* [Set Memory Swap Space](#actions/set-swap-space/action.yml)
+* [Install dependencies with Yarn](#install-dependencies-with-yarn)
+* [Configure Git CLI](#configure-git-cli)
+* [Install Aftman](#install-aftman)
+* [Install dependencies with NPM](#install-dependencies-with-npm)
+* [Configure Git CLI](#configure-git-cli)
+* [Generate Self-hosted Runner Token](#generate-self-hosted-runner-token)
+* [Set Memory Swap Space](#set-memory-swap-space)
## Workflows:
-#### [Node Package Publish](#.github/workflows/Package-Publish.yml)
+#### [Node Package Publish](#node-package-publish)
* Component link: `Bracketed/Workflows/.github/workflows/Package-Publish.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Package-Publish.yml)
* Description: Publish a node package to the NPM registry
@@ -89,11 +89,37 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `main`
* Type: `string`
-#### [README.md Updater](#.github/workflows/Repository-Update.yml)
+
+**Example Usage:**
+
+ name: Example Workflow
+ on:
+ push:
+ branches: [main]
+
+ jobs:
+ example:
+ uses: Bracketed/Workflows/.github/workflows/Package-Publish.yml@copilot/fix-anchor-links-readme-builder
+ with:
+ project-name: @${{ github.repository }}
+ repository-owner: bracketed
+ node-version: 23
+#### [README.md Updater](#readme-md-updater)
* Component link: `Bracketed/Workflows/.github/workflows/Repository-Update.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Repository-Update.yml)
* Description: Automatically updates the README.md file of this repository, this is NOT a reusable workflow
-#### [Build Rojo Project](#.github/workflows/Rojo-Build.yml)
+
+**Example Usage:**
+
+ name: Example Workflow
+ on:
+ push:
+ branches: [main]
+
+ jobs:
+ example:
+ uses: Bracketed/Workflows/.github/workflows/Repository-Update.yml@copilot/fix-anchor-links-readme-builder
+#### [Build Rojo Project](#build-rojo-project)
* Component link: `Bracketed/Workflows/.github/workflows/Rojo-Build.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Rojo-Build.yml)
* Description: Build a Rojo Project with Aftman
@@ -165,7 +191,22 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `true`
* Type: `boolean`
-#### [Package.json Version Check](#.github/workflows/Version-Check.yml)
+
+**Example Usage:**
+
+ name: Example Workflow
+ on:
+ push:
+ branches: [main]
+
+ jobs:
+ example:
+ uses: Bracketed/Workflows/.github/workflows/Rojo-Build.yml@copilot/fix-anchor-links-readme-builder
+ with:
+ project-name: @${{ github.repository }}
+ project-context: .
+ project-output: ${{ github.repository_owner }}~${{ github.event.repository.name }}~${GITHUB_SHA:0:7}
+#### [Package.json Version Check](#package-json-version-check)
* Component link: `Bracketed/Workflows/.github/workflows/Version-Check.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Version-Check.yml)
* Description: Check the package.json version for a new version or same version
@@ -202,7 +243,22 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `${{ github.ref }}`
* Type: `string`
-#### [Cancel Workflow](#.github/workflows/Workflow-Cancel.yml)
+
+**Example Usage:**
+
+ name: Example Workflow
+ on:
+ push:
+ branches: [main]
+
+ jobs:
+ example:
+ uses: Bracketed/Workflows/.github/workflows/Version-Check.yml@copilot/fix-anchor-links-readme-builder
+ with:
+ cancel-on-same: false
+ project-name: @${{ github.repository }}
+ repository-owner: bracketed
+#### [Cancel Workflow](#cancel-workflow)
* Component link: `Bracketed/Workflows/.github/workflows/Workflow-Cancel.yml@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/.github/workflows/Workflow-Cancel.yml)
* Description: Cancel a Github Actions Workflow with the gh CLI
@@ -217,8 +273,22 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `ubuntu-latest`
* Type: `string`
+
+**Example Usage:**
+
+ name: Example Workflow
+ on:
+ push:
+ branches: [main]
+
+ jobs:
+ example:
+ uses: Bracketed/Workflows/.github/workflows/Workflow-Cancel.yml@copilot/fix-anchor-links-readme-builder
+ with:
+ repository-owner: bracketed
+ operating-system: ubuntu-latest
## Actions:
-#### [Install dependencies with Yarn](#actions/add-yarn-dependencies/action.yml)
+#### [Install dependencies with Yarn](#install-dependencies-with-yarn)
* Component link: `Bracketed/Workflows/actions/add-yarn-dependencies@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/add-yarn-dependencies/action.yml)
* Description: Setup Node and install dependencies using Yarn.
@@ -236,7 +306,17 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `23`
* Type: `string`
-#### [Configure Git CLI](#actions/git-configure/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Install dependencies with Yarn
+ uses: Bracketed/Workflows/actions/add-yarn-dependencies@copilot/fix-anchor-links-readme-builder
+ with:
+ immutable: false
+ flags:
+ node-version: 23
+#### [Configure Git CLI](#configure-git-cli)
* Component link: `Bracketed/Workflows/actions/git-configure@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/git-configure/action.yml)
* Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
@@ -246,7 +326,15 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* **GITHUB_TOKEN**: The Github Token to utilise when running this action
* Required: `true`
* Type: `string`
-#### [Install Aftman](#actions/install-aftman/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Configure Git CLI
+ uses: Bracketed/Workflows/actions/git-configure@copilot/fix-anchor-links-readme-builder
+ with:
+ GITHUB_TOKEN: ${{ secrets.EXAMPLE_GITHUB_TOKEN }}
+#### [Install Aftman](#install-aftman)
* Component link: `Bracketed/Workflows/actions/install-aftman@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-aftman/action.yml)
* Description: Github action to install the Aftman toolchain manager - A fork of ok-nic/setup-aftman
@@ -268,7 +356,17 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `${{ github.token }}`
* Type: `string`
-#### [Install dependencies with NPM](#actions/install-npm-dependencies/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Install Aftman
+ uses: Bracketed/Workflows/actions/install-aftman@copilot/fix-anchor-links-readme-builder
+ with:
+ version: ${{ secrets.EXAMPLE_VERSION }}
+ context: .
+ cache: false
+#### [Install dependencies with NPM](#install-dependencies-with-npm)
* Component link: `Bracketed/Workflows/actions/install-npm-dependencies@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-npm-dependencies/action.yml)
* Description: Setup Node and install dependencies using NPM.
@@ -286,7 +384,17 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `23`
* Type: `string`
-#### [Configure Git CLI](#actions/install-rokit/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Install dependencies with NPM
+ uses: Bracketed/Workflows/actions/install-npm-dependencies@copilot/fix-anchor-links-readme-builder
+ with:
+ frozen: false
+ flags:
+ node-version: 23
+#### [Configure Git CLI](#configure-git-cli)
* Component link: `Bracketed/Workflows/actions/install-rokit@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/install-rokit/action.yml)
* Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
@@ -309,7 +417,17 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `.`
* Type: `string`
-#### [Generate Self-hosted Runner Token](#actions/make-runner/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Configure Git CLI
+ uses: Bracketed/Workflows/actions/install-rokit@copilot/fix-anchor-links-readme-builder
+ with:
+ toolchain-version: stable
+ rokit-version: latest
+ self-install: true
+#### [Generate Self-hosted Runner Token](#generate-self-hosted-runner-token)
* Component link: `Bracketed/Workflows/actions/make-runner@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/make-runner/action.yml)
* Description: Generate a token for a self-hosted GitHub Actions runner.
@@ -323,7 +441,16 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* **org**: Optional override for the organization name. Defaults to the repository owner.
* Required: `false`
* Type: `string`
-#### [Set Memory Swap Space](#actions/set-swap-space/action.yml)
+
+**Example Usage:**
+
+ steps:
+ - name: Generate Self-hosted Runner Token
+ uses: Bracketed/Workflows/actions/make-runner@copilot/fix-anchor-links-readme-builder
+ with:
+ token: ${{ github.token }}
+ org:
+#### [Set Memory Swap Space](#set-memory-swap-space)
* Component link: `Bracketed/Workflows/actions/set-swap-space@copilot/fix-anchor-links-readme-builder` [[Source]](https://github.com/Bracketed/Workflows/blob/copilot/fix-anchor-links-readme-builder/actions/set-swap-space/action.yml)
* Description: Add more swap space for memory in Gigabytes - By `pierotofy/set-swap-space`
@@ -334,9 +461,17 @@ A few of the actions or workflows used in this repository are forks of `sapphire
* Required: `false`
* Default: `10`
* Type: `string`
+
+**Example Usage:**
+
+ steps:
+ - name: Set Memory Swap Space
+ uses: Bracketed/Workflows/actions/set-swap-space@copilot/fix-anchor-links-readme-builder
+ with:
+ swap-size: 10
* * *
-_Last Edited by copilot-swe-agent[bot] at 21/11/2025 in **[9d7ebc1](Bracketed/Workflows/commit/9d7ebc1ca5875086d0372b2c5f9ade9842ed8c8a)**_
+_Last Edited by copilot-swe-agent[bot] at 21/11/2025 in **[024b626](Bracketed/Workflows/commit/024b62683472c13b65cf4a250a0c09ebbfa813e5)**_
- This repo automatically generates its README.md file, feel free to take a look or use the code in this repo!
* * *
diff --git a/src/components/base.tsx b/src/components/base.tsx
index 8c81cb0..4272226 100644
--- a/src/components/base.tsx
+++ b/src/components/base.tsx
@@ -1,44 +1,44 @@
-import { Logger } from '@bracketed/logger';
-import * as cheerio from 'cheerio';
-import React from 'react';
-import ReactDOMServer from 'react-dom/server';
-import TurndownService from 'turndown';
-
-const Component: React.FC = () => (
-
- Reusable workflows and actions for use by Bracketed Softworks to Build, publish, create, lint, document and
- more across our various products, projects and services we provide, as well as fast, reusable workflows for
- anyone who'd like to use them! ⚡🎉
-
- We permit usage of these by users outside of the Bracketed Softworks Organisation, these are free to use,
- copy and edit!
-
-
-
A few of the actions or workflows used in this repository are forks of `sapphiredev`'s reusables.
-
-
-
-);
-
-export const buildBaseMarkdown = () => {
- const Console = new Logger({ prefix: 'React' });
-
- Console.info(`Building React for ${import.meta.filename}...`);
- const Turndown = new TurndownService();
- const CheerioComponent = cheerio.load(ReactDOMServer.renderToStaticMarkup());
-
- return Turndown.turndown(CheerioComponent.html());
-};
+import { Logger } from '@bracketed/logger';
+import * as cheerio from 'cheerio';
+import type React from 'react';
+import ReactDOMServer from 'react-dom/server';
+import TurndownService from 'turndown';
+
+const Component: React.FC = () => (
+
+ Reusable workflows and actions for use by Bracketed Softworks to Build, publish, create, lint, document and
+ more across our various products, projects and services we provide, as well as fast, reusable workflows for
+ anyone who'd like to use them! ⚡🎉
+
+ We permit usage of these by users outside of the Bracketed Softworks Organisation, these are free to use,
+ copy and edit!
+
+
+
A few of the actions or workflows used in this repository are forks of `sapphiredev`'s reusables.
+
+
+
+);
+
+export const buildBaseMarkdown = () => {
+ const Console = new Logger({ prefix: 'React' });
+
+ Console.info(`Building React for ${import.meta.filename}...`);
+ const Turndown = new TurndownService();
+ const CheerioComponent = cheerio.load(ReactDOMServer.renderToStaticMarkup());
+
+ return Turndown.turndown(CheerioComponent.html());
+};
diff --git a/src/components/date-footer.tsx b/src/components/date-footer.tsx
index 4300031..ae56c9f 100644
--- a/src/components/date-footer.tsx
+++ b/src/components/date-footer.tsx
@@ -1,33 +1,33 @@
-import { getGitRepo, getLatestCommitFullHash, getLatestCommitHash, getLatestCommitUser } from '@/utils/index';
-import { Logger } from '@bracketed/logger';
-import * as cheerio from 'cheerio';
-import React from 'react';
-import ReactDOMServer from 'react-dom/server';
-import TurndownService from 'turndown';
-
-const Component: React.FC = () => (
-
-
-
- Last Edited by {getLatestCommitUser()} at {new Date().toLocaleDateString('en-GB')} in{' '}
-
- {getLatestCommitHash()}
-
-
-
-
- - This repo automatically generates its README.md file, feel free to take a look or use the code in this
- repo!
-
-
-);
-
-export const buildDateFooterMarkdown = () => {
- const Console = new Logger({ prefix: 'React' });
-
- Console.info(`Building React for ${import.meta.filename}...`);
- const Turndown = new TurndownService();
- const CheerioComponent = cheerio.load(ReactDOMServer.renderToStaticMarkup());
-
- return Turndown.turndown(CheerioComponent.html());
-};
+import { getGitRepo, getLatestCommitFullHash, getLatestCommitHash, getLatestCommitUser } from '@/utils/index';
+import { Logger } from '@bracketed/logger';
+import * as cheerio from 'cheerio';
+import type React from 'react';
+import ReactDOMServer from 'react-dom/server';
+import TurndownService from 'turndown';
+
+const Component: React.FC = () => (
+
+
+
+ Last Edited by {getLatestCommitUser()} at {new Date().toLocaleDateString('en-GB')} in{' '}
+
+ {getLatestCommitHash()}
+
+
+
+
+ - This repo automatically generates its README.md file, feel free to take a look or use the code in this
+ repo!
+
+
+);
+
+export const buildDateFooterMarkdown = () => {
+ const Console = new Logger({ prefix: 'React' });
+
+ Console.info(`Building React for ${import.meta.filename}...`);
+ const Turndown = new TurndownService();
+ const CheerioComponent = cheerio.load(ReactDOMServer.renderToStaticMarkup());
+
+ return Turndown.turndown(CheerioComponent.html());
+};
diff --git a/src/components/footer.tsx b/src/components/footer.tsx
index 8bdb27f..4baf7fa 100644
--- a/src/components/footer.tsx
+++ b/src/components/footer.tsx
@@ -1,44 +1,44 @@
-import { Logger } from '@bracketed/logger';
-import * as cheerio from 'cheerio';
-import React from 'react';
-import ReactDOMServer from 'react-dom/server';
-import TurndownService from 'turndown';
-
-const Component: React.FC = () => (
-
-
-
Contribution & Help
- Feel free to contribute to this project, join our discord{' '}
- and help us with future developments of Project Bracketed & Packages by Bracketed Softworks. Please also notify
- us of errors within our projects as we may not be aware of them at the time.
-
-
-);
-
-export const buildFooterMarkdown = () => {
- const Console = new Logger({ prefix: 'React' });
-
- Console.info(`Building React for ${import.meta.filename}...`);
- const Turndown = new TurndownService();
- const CheerioComponent = cheerio.load(ReactDOMServer.renderToStaticMarkup());
-
- return Turndown.turndown(CheerioComponent.html());
-};
+import { Logger } from '@bracketed/logger';
+import * as cheerio from 'cheerio';
+import type React from 'react';
+import ReactDOMServer from 'react-dom/server';
+import TurndownService from 'turndown';
+
+const Component: React.FC = () => (
+
+
+
Contribution & Help
+ Feel free to contribute to this project, join our discord{' '}
+ and help us with future developments of Project Bracketed & Packages by Bracketed Softworks. Please also notify
+ us of errors within our projects as we may not be aware of them at the time.
+
+