diff --git a/.github/workflows/_ci.yml b/.github/workflows/_ci.yml index 028d7da..7773bdd 100644 --- a/.github/workflows/_ci.yml +++ b/.github/workflows/_ci.yml @@ -11,7 +11,9 @@ on: jobs: lint: name: Lint - runs-on: arc + # ubuntu-latest while arc-dind runners are unavailable during the libvirt + # migration. Revert to `arc` once the new k3s cluster has ARC runners up. + runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 @@ -21,12 +23,5 @@ jobs: with: python-version: "3.12" - - name: Install actionlint - run: | - mkdir -p "$HOME/.local/bin" - curl -sSL https://github.com/rhysd/actionlint/releases/download/v1.7.7/actionlint_1.7.7_linux_amd64.tar.gz | \ - tar xz -C "$HOME/.local/bin" actionlint - echo "$HOME/.local/bin" >> "$GITHUB_PATH" - - name: Run pre-commit uses: pre-commit/action@v3.0.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 50c700a..4ebe63b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -12,6 +12,6 @@ repos: - id: trailing-whitespace - repo: https://github.com/rhysd/actionlint - rev: v1.7.11 + rev: v1.7.12 hooks: - id: actionlint diff --git a/opencode.json b/opencode.json new file mode 100644 index 0000000..b8bcd68 --- /dev/null +++ b/opencode.json @@ -0,0 +1,37 @@ +{ + "$schema": "https://opencode.ai/config.json", + "mcp": { + "agent-hub": {"type": "local", "command": ["npx", "-y", "agent-hub-mcp@latest"], "enabled": true}, + "context-mode": {"type": "local", "command": ["context-mode"], "enabled": true}, + "context7": {"type": "remote", "url": "https://mcp.context7.com/mcp", "enabled": true}, + "github": {"type": "remote", "url": "https://api.githubcopilot.com/mcp/", "enabled": true, "headers": {"Authorization": "Bearer {env:GITHUB_TOKEN}"}}, + "opencode-docs": {"enabled": false}, + "opentofu-docs": {"enabled": false}, + "aws-docs": {"enabled": false}, + "kubernetes": {"enabled": false}, + "tmux": {"enabled": false}, + "linear": {"enabled": false}, + "notion": {"enabled": false}, + "aws-api-staging": {"enabled": false}, + "aws-api-prod": {"enabled": false}, + "grafana": {"enabled": false}, + "terraform-docs": {"enabled": false}, + "argocd-staging-eks": {"enabled": false}, + "argocd-prod-eks": {"enabled": false} + }, + "tools": { + "opencode-docs_*": false, + "opentofu-docs_*": false, + "aws-docs_*": false, + "kubernetes_*": false, + "tmux_*": false, + "linear_*": false, + "notion_*": false, + "aws-api-staging_*": false, + "aws-api-prod_*": false, + "grafana_*": false, + "terraform-docs_*": false, + "argocd-staging-eks_*": false, + "argocd-prod-eks_*": false + } +}