Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
87 changes: 87 additions & 0 deletions .github/actions/.flat-action-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
{
"version": 1,
"generatedAt": "2026-03-24T00:01:49.935Z",
"entries": [
{
"owner": "dtolnay",
"repo": "rust-toolchain",
"ref": "efa25f7f19611383d5b0ccf2d1c8914531636bf9",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/dtolnay/rust-toolchain/efa25f7f19611383d5b0ccf2d1c8914531636bf9",
"actionType": "composite"
},
{
"owner": "actions",
"repo": "cache",
"ref": "0057852bfaa89a56745cba8c7296529d2fc39830",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/actions/cache/0057852bfaa89a56745cba8c7296529d2fc39830",
"actionType": "node"
},
{
"owner": "actions",
"repo": "setup-node",
"ref": "49933ea5288caeca8642d1e84afbd3f7d6820020",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/actions/setup-node/49933ea5288caeca8642d1e84afbd3f7d6820020",
"actionType": "node"
},
{
"owner": "actions",
"repo": "setup-python",
"ref": "a26af69be951a213d495a4c3e4e4022e16d87065",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/actions/setup-python/a26af69be951a213d495a4c3e4e4022e16d87065",
"actionType": "node"
},
{
"owner": "ruby",
"repo": "setup-ruby",
"ref": "319994f95fa847cf3fb3cd3dbe89f6dcde9f178f",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/ruby/setup-ruby/319994f95fa847cf3fb3cd3dbe89f6dcde9f178f",
"actionType": "node"
},
{
"owner": "actions",
"repo": "upload-artifact",
"ref": "ea165f8d65b6e75b540449e92b4886f43607fa02",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/actions/upload-artifact/ea165f8d65b6e75b540449e92b4886f43607fa02",
"actionType": "node"
},
{
"owner": "actions",
"repo": "download-artifact",
"ref": "d3f86a106a0bac45b974a628896c90dbdf5c8093",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/actions/download-artifact/d3f86a106a0bac45b974a628896c90dbdf5c8093",
"actionType": "node"
},
{
"owner": "rust-lang",
"repo": "crates-io-auth-action",
"ref": "b7e9a28eded4986ec6b1fa40eeee8f8f165559ec",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/rust-lang/crates-io-auth-action/b7e9a28eded4986ec6b1fa40eeee8f8f165559ec",
"actionType": "node"
},
{
"owner": "pypa",
"repo": "gh-action-pypi-publish",
"ref": "ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e",
"path": null,
"resolvedSha": null,
"vendoredTo": ".github/actions/pypa/gh-action-pypi-publish/ed0c53931b1dc9bd32cbe73a98c7f6766f8a527e",
"actionType": "composite"
}
]
}
3 changes: 3 additions & 0 deletions .github/actions/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# AUTO-GENERATED by flat-action — override parent .gitignore rules
# Vendored actions need all their files (dist/, node_modules/, etc.)
!*
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Node.js & TypeScript",
"image": "mcr.microsoft.com/devcontainers/typescript-node:16-bullseye",
// Features to add to the dev container. More info: https://containers.dev/implementors/features.
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "npm install"
// Configure tool-specific properties.
// "customizations": {},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"env": { "node": true, "jest": true },
"parser": "@typescript-eslint/parser",
"parserOptions": { "ecmaVersion": 2020, "sourceType": "module" },
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/errors",
"plugin:import/warnings",
"plugin:import/typescript",
"plugin:prettier/recommended"
],
"plugins": ["@typescript-eslint", "simple-import-sort", "jest"],
"rules": {
"import/first": "error",
"import/newline-after-import": "error",
"import/no-duplicates": "error",
"simple-import-sort/imports": "error",
"sort-imports": "off"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.licenses/** -diff linguist-generated=true
* text=auto eol=lf
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @actions/actions-cache
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file

version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
groups:
minor-actions-dependencies:
update-types: [minor, patch]

- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "daily"
allow:
- dependency-type: direct
- dependency-type: production
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<!--- Provide a general summary of your changes in the Title above -->

## Description
<!--- Describe your changes in detail -->

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## How Has This Been Tested?
<!--- Please describe in detail how you tested your changes. -->
<!--- Include details of your testing environment, and the tests you ran to -->
<!--- see how your change affects other areas of the code, etc. -->

## Screenshots (if appropriate):

## Types of changes
<!--- What types of changes does your code introduce? Put an `x` in all the boxes that apply: -->
- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Documentation (add or update README or docs)

## Checklist:
<!--- Go over all the following points, and put an `x` in all the boxes that apply. -->
<!--- If you're unsure about any of these, don't hesitate to ask. We're here to help! -->
- [ ] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have read the **CONTRIBUTING** document.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Check dist/

on:
push:
branches:
- main
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
call-check-dist:
name: Check dist/
uses: actions/reusable-workflows/.github/workflows/check-dist.yml@main
with:
node-version: "20.x"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Close inactive issues
on:
schedule:
- cron: "30 8 * * *"

jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v9
with:
days-before-issue-stale: 200
days-before-issue-close: 5
stale-issue-label: "stale"
stale-issue-message: "This issue is stale because it has been open for 200 days with no activity. Leave a comment to avoid closing this issue in 5 days."
close-issue-message: "This issue was closed because it has been inactive for 5 days since being marked as stale."
days-before-pr-stale: -1
days-before-pr-close: -1
repo-token: ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "Code scanning - action"

on:
push:
pull_request:
schedule:
- cron: '0 19 * * 0'

jobs:
CodeQL-Build:
# CodeQL runs on ubuntu-latest, windows-latest, and macos-latest
runs-on: ubuntu-latest

permissions:
# required for all workflows
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java, ruby

# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
# If this step fails, then you should remove it and run the build manually (see below).
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# ✏️ If the Autobuild fails above, remove it and uncomment the following
# three lines and modify them (or add more) to build your code if your
# project uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Assign issue
on:
issues:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT

- name: add_assignees
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.issue.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Licensed

on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:

jobs:
validate-cached-dependency-records:
runs-on: ubuntu-latest
name: Check licenses
steps:

- name: Checkout
uses: actions/checkout@v4

- name: Install dependencies
run: npm ci --ignore-scripts

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1.7'

- name: Install licensed tool
run: |
cd "$RUNNER_TEMP"
curl -Lfs -o licensed.tar.gz https://github.com/licensee/licensed/archive/refs/tags/v5.0.4.tar.gz
tar -xzf licensed.tar.gz
cd licensed-5.0.4
bundle install

- name: Check cached dependency records
run: |
cd ${{ github.workspace }}
BUNDLE_GEMFILE=$RUNNER_TEMP/licensed-5.0.4/Gemfile bundle exec $RUNNER_TEMP/licensed-5.0.4/exe/licensed status
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Add Reviewer PR
on:
pull_request_target:
types: [opened]
jobs:
run-action:
runs-on: ubuntu-latest
steps:
- name: Get current oncall
id: oncall
run: |
echo "CURRENT=$(curl --request GET 'https://api.pagerduty.com/oncalls?include[]=users&schedule_ids[]=P5VG2BX&earliest=true' --header 'Authorization: Token token=${{ secrets.PAGERDUTY_TOKEN }}' --header 'Accept: application/vnd.pagerduty+json;version=2' --header 'Content-Type: application/json' | jq -r '.oncalls[].user.name')" >> $GITHUB_OUTPUT

- name: Request Review
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/pulls/${{ github.event.pull_request.number}}/requested_reviewers -d '{"reviewers":["${{steps.oncall.outputs.CURRENT}}"]}'

- name: Add Assignee
run: |
curl -X POST -H "Accept: application/vnd.github+json" -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN}}" https://api.github.com/repos/${{github.repository}}/issues/${{ github.event.pull_request.number}}/assignees -d '{"assignees":["${{steps.oncall.outputs.CURRENT}}"]}'
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: 'Publish Immutable Action Version'

on:
release:
types: [released]

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
packages: write

steps:
- name: Checking out
uses: actions/checkout@v4
- name: Publish
id: publish
uses: actions/publish-immutable-action@0.0.3
Loading
Loading