| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This repository stories issue, pull request and merge request templates for Matrix AI
GitHub templates are stored in .github. This repository must be placed under https://github.com/MatrixAI/.github. The .github repository name is essential for GitHub to recognise it as a special organisation-template repository.
GitLab templates are stored in .gitlab. This repository must be selected as the templates repository under Settings > General > Templates.
Note that template syntax differs by a little bit. In particular GitHub templates require a stanza at the beginning while GitLab templates use special slash commands. When updating the templates for GitHub or GitLab, ensure that it is also updated for the other system as well so we can have a consistent set of templates.
Ensure that this repository is mirrored from GitLab to GitHub.
This is where we centralized re-usable workflows for GitHub actions. Workflows are grouped together into different kinds of projects.
On GitHub-hosted Windows runners it is common to have multiple Node versions on PATH (for example Node 22 may be preinstalled). If a workflow calls refreshenv / Update-SessionEnvironment after selecting Node, it can rebuild PATH and cause npm.cmd to come from a different Node installation than node.exe.
To avoid the Node/npm mismatch:
Windows jobs are pinned to windows-2022.
Windows execution is split into two steps:
Reusable workflows in this repository do not use actions/setup-node for Windows; they delegate Node selection to the downstream repo’s ./scripts/choco-install.ps1.
library-js - TS/JS projects that produce libraries as NPM packages.
library-js-native - TS/JS projects that produce libraries using native code as NPM packages.
application-js-cloudflare - TS/JS projects that produce Cloudflare applications
To use them, for example in a library-js project. You create 3 caller workflows in /.github/workflows:
name: "CI / Feature"
on:
push:
branches:
- feature*
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
use-library-js-feature:
permissions:
contents: read
actions: write
checks: write
uses: MatrixAI/.github/.github/workflows/library-js-feature.yml@mastername: "CI / Staging"
on:
push:
branches:
- staging
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
use-library-js-staging:
permissions:
contents: read
actions: write
checks: write
pull-requests: write
uses: MatrixAI/.github/.github/workflows/library-js-staging.yml@master
secrets: inheritname: "CI / Tag"
on:
push:
tags:
- 'v*.*.*'
workflow_dispatch:
jobs:
use-library-js-tag:
permissions:
contents: read
actions: write
uses: MatrixAI/.github/.github/workflows/library-js-tag.yml@master
secrets: inherit| Back | FazBrowse Home | New Git URL |