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.
- Node Package Publish
- README.md Updater
- Build Rojo Project
- Package.json Version Check
- Cancel Workflow
- Install dependencies with Yarn
- Configure Git CLI
- Install Aftman
- Install dependencies with NPM
- Configure Git CLI
- Generate Self-hosted Runner Token
- Set Memory Swap Space
- Component link:
Bracketed/Workflows/.github/workflows/Package-Publish.yml@copilot/fix-anchor-links-readme-builder[Source] - Description: Publish a node package to the NPM registry
Inputs:
- project-name: The name of the project
- Required:
false - Default:
@${{ github.repository }} - Type:
string
- Required:
- repository-owner: The repository owner (default
bracketed, can be customised)- Required:
false - Default:
bracketed - Type:
string
- Required:
- node-version: The version of Node.js to use (default
23)- Required:
false - Default:
23 - Type:
number
- Required:
- operating-system: The operating system to use (default
ubuntu-latest)- Required:
false - Default:
ubuntu-latest - Type:
string
- Required:
- with-submodules: Whether to include submodules when checking out the repository (default
false)- Required:
false - Default:
true - Type:
string
- Required:
- working-directory: The working directory to run the commands in
- Required:
false - Default:
. - Type:
string
- Required:
- skip-automatic-bump: Whether to skip the automatic bumping of the package version
- Required:
false - Default:
true - Type:
boolean
- Required:
- build: Whether to run
yarn buildbefore publishing- Required:
false - Default:
true - Type:
boolean
- Required:
- checkout-depth: The depth of
actions/checkoutto fetch from (default0)- Required:
false - Type:
number
- Required:
- checkout-ref: The branch reference
actions/checkoutwill use to pull from (defaultmain)- Required:
false - Default:
main - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/.github/workflows/Repository-Update.yml@copilot/fix-anchor-links-readme-builder[Source] - Description: Automatically updates the README.md file of this repository, this is NOT a reusable workflow
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
- Component link:
Bracketed/Workflows/.github/workflows/Rojo-Build.yml@copilot/fix-anchor-links-readme-builder[Source] - Description: Build a Rojo Project with Aftman
Inputs:
- project-name: The name of the project
- Required:
false - Default:
@${{ github.repository }} - Type:
string
- Required:
- project-context: The working directory context of the Rojo build
- Required:
false - Default:
. - Type:
string
- Required:
- project-output: The output file name of the Rojo build
- Required:
false - Default:
${{ github.repository_owner }}~${{ github.event.repository.name }}~${GITHUB_SHA:0:7} - Type:
string
- Required:
- artifact-label: The label of the artifact published on a successful build
- Required:
false - Default:
${{ inputs.project-output }} - Type:
string
- Required:
- project-output-type: The output file type of the Rojo build (Options:
rbxm(default),rbxmx,rbxl,rbxlx)- Required:
false - Default:
rbxm - Type:
string
- Required:
- project-file: The project file for your Rojo project (default
default.project.json)- Required:
false - Default:
default.project.json - Type:
string
- Required:
- lua-version: The Lua version to use when installing Lua to compile the project (default
5.1)- Required:
false - Default:
5.1 - Type:
number
- Required:
- with-submodules: Whether to include submodules when checking out the repository (default
false)- Required:
false - Default:
true - Type:
string
- Required:
- repository-owner: The repository owner (default
bracketed)- Required:
false - Default:
bracketed - Type:
string
- Required:
- operating-system: Base OS to use (default
ubuntu-latest)- Required:
false - Default:
ubuntu-latest - Type:
string
- Required:
- checkout-depth: The depth of
actions/checkoutto fetch from (default0)- Required:
false - Type:
number
- Required:
- checkout-ref: The branch reference
actions/checkoutwill use to pull from (defaultmain)- Required:
false - Default:
main - Type:
string
- Required:
- linters-enabled: Allow code linting pre-build (default
false)- Required:
false - Type:
boolean
- Required:
- linter: The linter to use in your project pre-build lint stage (default
selene, options,'selene','stylua')- Required:
false - Default:
selene - Type:
string
- Required:
- linter-arguments: Extra arguments to supply to the chosen project linter (default
none)- Required:
false - Type:
string
- Required:
- linter-version: Set the version of your linter to install (default
latest)- Required:
false - Default:
latest - Type:
string
- Required:
- summary: Display a build summary post-build (default
true)- Required:
false - Default:
true - Type:
boolean
- Required:
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}
- Component link:
Bracketed/Workflows/.github/workflows/Version-Check.yml@copilot/fix-anchor-links-readme-builder[Source] - Description: Check the package.json version for a new version or same version
Inputs:
- cancel-on-same: Cancel the running workflow and stop the whole workflow from running if the versions are the same
- Required:
false - Type:
boolean
- Required:
- project-name: The name of the project (default is the repo owner + the repo name)
- Required:
false - Default:
@${{ github.repository }} - Type:
string
- Required:
- repository-owner: The repository owner (default
bracketed, can be customised)- Required:
false - Default:
bracketed - Type:
string
- Required:
- operating-system: Base OS to use (default
ubuntu-latest)- Required:
false - Default:
ubuntu-latest - Type:
string
- Required:
- with-submodules: Whether to include submodules when checking out the repository (default
true)- Required:
false - Default:
true - Type:
boolean
- Required:
- working-directory: The working directory to run the commands in
- Required:
false - Default:
. - Type:
string
- Required:
- checkout-depth: The depth of
actions/checkoutto fetch from (default0)- Required:
false - Type:
number
- Required:
- checkout-ref: The branch reference
actions/checkoutwill use to pull from (default is the same branch the workflow is running on)- Required:
false - Default:
${{ github.ref }} - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/.github/workflows/Workflow-Cancel.yml@copilot/fix-anchor-links-readme-builder[Source] - Description: Cancel a Github Actions Workflow with the gh CLI
Inputs:
- repository-owner: The repository owner (default
bracketed, can be customised)- Required:
false - Default:
bracketed - Type:
string
- Required:
- operating-system: Base OS to use (default
ubuntu-latest)- Required:
false - Default:
ubuntu-latest - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/actions/add-yarn-dependencies@copilot/fix-anchor-links-readme-builder[Source] - Description: Setup Node and install dependencies using Yarn.
Inputs:
- immutable: Use the
--immutableflag when installing yarn dependencies- Required:
false - Default:
false - Type:
string
- Required:
- flags: Extra flags to be added onto the
yarn installcommand- Required:
false - Type:
string
- Required:
- node-version: The version of Node.js to use
- Required:
false - Default:
23 - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/actions/git-configure@copilot/fix-anchor-links-readme-builder[Source] - Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
Inputs:
- GITHUB_TOKEN: The Github Token to utilise when running this action
- Required:
true - Type:
string
- Required:
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 }}
- Component link:
Bracketed/Workflows/actions/install-aftman@copilot/fix-anchor-links-readme-builder[Source] - Description: Github action to install the Aftman toolchain manager - A fork of ok-nic/setup-aftman
Inputs:
- version: Git Release Tag (usually in the form
vX.X.X)- Required:
false - Type:
string
- Required:
- context: Path to the
aftman.tomldirectory- Required:
false - Default:
. - Type:
string
- Required:
- cache: Enable caching (default
false)- Required:
false - Default:
false - Type:
string
- Required:
- token: GitHub token via
github.token- Required:
false - Default:
${{ github.token }} - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/actions/install-npm-dependencies@copilot/fix-anchor-links-readme-builder[Source] - Description: Setup Node and install dependencies using NPM.
Inputs:
- frozen: Use the
--frozen-lockfileflag when installing npm dependencies- Required:
false - Default:
false - Type:
string
- Required:
- flags: Extra flags to be added onto the
npm installcommand- Required:
false - Type:
string
- Required:
- node-version: The version of Node.js to use
- Required:
false - Default:
23 - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/actions/install-rokit@copilot/fix-anchor-links-readme-builder[Source] - Description: Configure the Git CLI with the correct values and objects for usage in a command line environment
Inputs:
- toolchain-version: The version of the rust toolchain to install (default
stable)- Required:
false - Default:
stable - Type:
string
- Required:
- rokit-version: Rokit Version to install from Cargo (default
latest)- Required:
false - Default:
latest - Type:
string
- Required:
- self-install: Run
rokit self-installafter installing Rokit (defaulttrue)- Required:
false - Default:
true - Type:
string
- Required:
- install-context: Context in directory of where Rokit will run
rokit self-installpost install (default.)- Required:
false - Default:
. - Type:
string
- Required:
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
- Component link:
Bracketed/Workflows/actions/make-runner@copilot/fix-anchor-links-readme-builder[Source] - Description: Generate a token for a self-hosted GitHub Actions runner.
Inputs:
- token: Authentication token for gh CLI, defaults to the workflow GITHUB_TOKEN.
- Required:
false - Default:
${{ github.token }} - Type:
string
- Required:
- org: Optional override for the organization name. Defaults to the repository owner.
- Required:
false - Type:
string
- Required:
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:
- Component link:
Bracketed/Workflows/actions/set-swap-space@copilot/fix-anchor-links-readme-builder[Source] - Description: Add more swap space for memory in Gigabytes - By
pierotofy/set-swap-space
Inputs:
- swap-size: Swap space to create, in Gigabytes.
- Required:
false - Default:
10 - Type:
string
- Required:
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 024b626
- This repo automatically generates its README.md file, feel free to take a look or use the code in this repo!
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.
Bracketed Softworks - Website | Discord | Github | Twitter |
