Skip to content
Open
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
78 changes: 78 additions & 0 deletions .github/workflows/_go-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand All @@ -37,7 +50,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand All @@ -53,7 +79,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand All @@ -69,7 +108,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand Down Expand Up @@ -99,7 +151,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand All @@ -120,7 +185,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: CI

on:
push:
branches: [master]
branches: [master, arch-reset]
workflow_dispatch:

concurrency:
Expand Down
13 changes: 13 additions & 0 deletions .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,20 @@ jobs:
permissions:
contents: read
steps:
- name: Generate token
id: generate-token
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
with:
app-id: ${{ secrets.TERO_BOT_CLIENT_ID }}
private-key: ${{ secrets.TERO_BOT_PRIVATE_SIGNING_KEY }}
owner: ${{ github.repository_owner }}

- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
with:
token: ${{ steps.generate-token.outputs.token }}

- name: Configure Git for private Hermit sources
run: git config --global url.https://x-access-token:${{ steps.generate-token.outputs.token }}@github.com/.insteadOf https://github.com/

- name: Setup Hermit
uses: cashapp/activate-hermit@e49f5cb4dd64ff0b0b659d1d8df499595451155a # v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pr-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: PR CI

on:
pull_request:
branches: [master]
branches: [master, arch-reset]
merge_group:
branches: [master]
branches: [master, arch-reset]
workflow_dispatch:

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Security

on:
pull_request:
branches: [master]
branches: [master, arch-reset]
schedule:
- cron: "30 7 * * 1"
workflow_dispatch:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/workflow-lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Workflow Lint

on:
pull_request:
branches: [master]
branches: [master, arch-reset]
paths:
- .github/workflows/**
- .github/actions/**
Expand All @@ -20,6 +20,6 @@ jobs:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6

- name: Run actionlint
uses: reviewdog/action-actionlint@f45e6423f07e6ea6fce879bbdb0d74407c1fbf55 # v1
uses: reviewdog/action-actionlint@6fb7acc99f4a1008869fa8a0f09cfca740837d9d # v1
with:
fail_level: any
File renamed without changes.
1 change: 1 addition & 0 deletions bin/.ripgrep-15.1.0.pkg
2 changes: 1 addition & 1 deletion bin/go
2 changes: 1 addition & 1 deletion bin/gofmt
2 changes: 2 additions & 0 deletions bin/hermit.hcl
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
sources = ["https://github.com/usetero/hermit-packages.git", "https://github.com/cashapp/hermit-packages.git"]

github-token-auth {
}
1 change: 1 addition & 0 deletions bin/rg
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/usetero/cli

go 1.25.0
go 1.26.1

require (
charm.land/bubbles/v2 v2.0.0-rc.1.0.20260109112849-ae99f46cec66
Expand Down
Loading