Skip to content
Merged
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
5 changes: 5 additions & 0 deletions .changeset/tough-berries-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@ryanatkn/fuz_gitops': minor
---

throw on 401s in GitHub fetch helpers to abort on invalid tokens
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ npm i -D @ryanatkn/fuz_gitops

- configure [`fuz.config.ts`](/fuz.config.ts)
- fuz_gitops calls the GitHub API using the environment variable `GITHUB_TOKEN_SECRET` for authorization,
which is a [GitHub token](https://github.com/settings/tokens)
which is a [classic GitHub token](https://github.com/settings/tokens)
(with "public access" for public repos, no options selected)
or a [fine-grainted GitHub token (beta)](https://github.com/settings/tokens?type=beta)
(with `"Public Repositories (read-only)"` selected)
in either `process.env`, a project-local `.env`, or the parent directory at `../.env`
(currently optional to read public repos, but it's recommended regardless,
and you'll need to select options to support private repos)
Expand Down
260 changes: 159 additions & 101 deletions package-lock.json

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,21 +41,21 @@
"@ryanatkn/belt": "^0.20.10",
"@ryanatkn/eslint-config": "^0.1.2",
"@ryanatkn/fuz": "^0.102.1",
"@ryanatkn/gro": "^0.116.2",
"@ryanatkn/moss": "^0.3.2",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.5.10",
"@sveltejs/package": "^2.3.1",
"@ryanatkn/gro": "^0.119.0",
"@ryanatkn/moss": "^0.4.0",
"@sveltejs/adapter-static": "^3.0.2",
"@sveltejs/kit": "^2.5.16",
"@sveltejs/package": "^2.3.2",
"@sveltejs/vite-plugin-svelte": "^3.1.1",
"@types/node": "^20.14.2",
"@typescript-eslint/eslint-plugin": "^7.13.0",
"@typescript-eslint/parser": "^7.13.0",
"@types/node": "^20.14.3",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"eslint": "^8.57.0",
"eslint-plugin-svelte": "^2.39.3",
"eslint-plugin-svelte": "^2.40.0",
"prettier": "^3.3.2",
"prettier-plugin-svelte": "^3.2.4",
"svelte": "^5.0.0-next.153",
"svelte-check": "^3.8.0",
"svelte": "^5.0.0-next.158",
"svelte-check": "^3.8.1",
"tslib": "^2.6.3",
"typescript": "^5.4.5",
"uvu": "^0.5.6"
Expand Down
2 changes: 1 addition & 1 deletion src/lib/Pull_Requests_Page.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script context="module" lang="ts">
// TODO BLOCK is this the new required pattern?
// TODO is this the new required pattern?
export interface Props {
deployment: Fetched_Deployment;
deployments: Fetched_Deployment[];
Expand Down
Loading