@usine/github 0.4.1-next.391.g8412ddc.1.1 → 0.4.1-next.394.ge2f3cce.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -13,9 +13,9 @@ The 0.x APIs can change between minor releases.
13
13
 
14
14
  ## Set up the App
15
15
 
16
- [Quickstart](https://docs.usine.dev/get-started/quickstart/) gives the steps under Connect a GitHub App: an App installable only on your account, with an active webhook for deliveries mode, with Contents, Issues, and Pull requests read and write, Checks and Metadata read-only, optionally Actions read-only for CI job logs, and **No access** for everything else, including Workflows, Administration, and all organization and account permissions.
16
+ [Quickstart](https://docs.usine.dev/get-started/quickstart/) gives the steps under Connect a GitHub App: an App installable only on your account, with an active webhook for deliveries mode, with Contents, Issues, Pull requests, and Workflows read and write, Checks and Metadata read-only, optionally Actions read-only for CI job logs, and **No access** for everything else, including Administration and all organization and account permissions.
17
17
 
18
- GitHub grants Metadata read access automatically. Contents lets installation tokens use Git over HTTPS; with Workflows off, worker tokens can't edit `.github/workflows/`. User authorization isn't required. Install the App once, on the account that owns the managed repos, for every repo in `usine.yaml`; a factory expects one installation. GitHub's references are [Registering a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app) and [Choosing permissions for a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/choosing-permissions-for-a-github-app).
18
+ GitHub grants Metadata read access automatically. Contents lets installation tokens use Git over HTTPS; Workflows lets write-access attempts push changes under `.github/workflows/`. For an existing App, enable **Workflows: read and write** in its repository permissions and accept the permission update on its installation. Installation checks report `workflows:write` when that grant is missing. User authorization isn't required. Install the App once, on the account that owns the managed repos, for every repo in `usine.yaml`; a factory expects one installation. GitHub's references are [Registering a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app) and [Choosing permissions for a GitHub App](https://docs.github.com/en/apps/creating-github-apps/registering-a-github-app/choosing-permissions-for-a-github-app).
19
19
 
20
20
  Store the App ID and private key in `<instance>/.usine/github-app.json` with mode `0600`, and keep `.usine/` in the instance repo's `.gitignore`:
21
21
 
@@ -62,7 +62,7 @@ Operations without arguments are Effect values: use `yield* app.installation`, `
62
62
 
63
63
  Call `GitHubApp.projectAccess(registry)` before scheduling. Each result is a `CoveredProject`, with the repo ID for scoped minting, or a `ProjectNotInstalledError`. A missing repo doesn't block covered ones.
64
64
 
65
- Pass a `CoveredProject` and the attempt's loop permission level to `GitHubApp.workerToken`. If GitHub's response doesn't confirm that the token covers exactly that repo ID, it fails with `InvalidGitHubResponseError`. `WORKER_TOKEN_PERMISSIONS` lists each level's permissions: a `read` token has `contents: read`, so it can't push, and keeps `pull_requests: write` and `issues: write` for reviews and comments.
65
+ Pass a `CoveredProject` and the attempt's loop permission level to `GitHubApp.workerToken`. If GitHub's response doesn't confirm that the token covers exactly that repo ID, it fails with `InvalidGitHubResponseError`. `WORKER_TOKEN_PERMISSIONS` lists each level's permissions: a `write` token includes `contents: write` and `workflows: write`, so it can push code and workflow files. A `read` token has `contents: read` and omits `workflows`, so it can't push, and keeps `pull_requests: write` and `issues: write` for reviews and comments.
66
66
 
67
67
  ## Poll repository changes
68
68
 
package/dist/access.d.ts CHANGED
@@ -13,6 +13,8 @@ export declare const REQUIRED_REPOSITORY_PERMISSIONS: {
13
13
  readonly metadata: "read";
14
14
  /** Allows pull request creation, reviews, and updates. */
15
15
  readonly pull_requests: "write";
16
+ /** Allows agent-authored changes to GitHub workflow files. */
17
+ readonly workflows: "write";
16
18
  };
17
19
  /** A repository permission that the App installation must grant at the required level. */
18
20
  export type RequiredRepositoryPermission = keyof typeof REQUIRED_REPOSITORY_PERMISSIONS;
@@ -36,6 +38,8 @@ export declare const WORKER_TOKEN_PERMISSIONS: {
36
38
  readonly metadata: "read";
37
39
  /** Allows pull request comments, reviews, and updates. */
38
40
  readonly pull_requests: "write";
41
+ /** Allows pushes that create or update GitHub workflow files. */
42
+ readonly workflows: "write";
39
43
  };
40
44
  /** Allows code reads and item writes, including reviews and comments; code pushes require write access. */
41
45
  readonly read: {
@@ -1 +1 @@
1
- {"version":3,"file":"access.d.ts","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAkB,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE/E,kGAAkG;AAClG,eAAO,MAAM,+BAA+B;IAC1C,mDAAmD;aACnD,MAAM,EAAE,MAAM;IACd,0DAA0D;aAC1D,QAAQ,EAAE,OAAO;IACjB,+CAA+C;aAC/C,MAAM,EAAE,OAAO;IACf,8EAA8E;aAC9E,QAAQ,EAAE,MAAM;IAChB,0DAA0D;aAC1D,aAAa,EAAE,OAAO;CACd,CAAC;AAEX,0FAA0F;AAC1F,MAAM,MAAM,4BAA4B,GAAG,MAAM,OAAO,+BAA+B,CAAC;AAExF;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;IACnC,0DAA0D;;QAExD,wCAAwC;iBACxC,MAAM,EAAE,MAAM;QACd,oCAAoC;iBACpC,QAAQ,EAAE,OAAO;QACjB,+CAA+C;iBAC/C,MAAM,EAAE,OAAO;QACf,iCAAiC;iBACjC,QAAQ,EAAE,MAAM;QAChB,0DAA0D;iBAC1D,aAAa,EAAE,OAAO;;IAExB,2GAA2G;;QAEzG,wCAAwC;iBACxC,MAAM,EAAE,MAAM;QACd,mEAAmE;iBACnE,QAAQ,EAAE,MAAM;QAChB,+CAA+C;iBAC/C,MAAM,EAAE,OAAO;QACf,iCAAiC;iBACjC,QAAQ,EAAE,MAAM;QAChB,0DAA0D;iBAC1D,aAAa,EAAE,OAAO;;CAKzB,CAAC;AAKF,2GAA2G;AAC3G,eAAO,MAAM,kBAAkB,YACpB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,KACxC,aAAa,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;IAC1B,yEAAyE;IACzE,QAAQ,CAAC,IAAI,EAAE,cAAc,CAAC;CAC/B;AAED;;;;;GAKG;AACH,eAAO,MAAM,mBAAmB,iBAChB,YAAY,YAChB,aAAa,CAAC,cAAc,CAAC,aAC5B,aAAa,CAAC,mBAAmB,CAAC,KAC5C,aAAa,CAAC,aAAa,CAe7B,CAAC;;IAOA,8GAA8G;;IAE9G,uFAAuF;;;AAPzF,+GAA+G;AAC/G,qBAAa,kBAAmB,SAAQ,uBAQtC;CAAG"}
package/dist/access.js CHANGED
@@ -13,6 +13,8 @@ export const REQUIRED_REPOSITORY_PERMISSIONS = {
13
13
  metadata: "read",
14
14
  /** Allows pull request creation, reviews, and updates. */
15
15
  pull_requests: "write",
16
+ /** Allows agent-authored changes to GitHub workflow files. */
17
+ workflows: "write",
16
18
  };
17
19
  /**
18
20
  * The repository permissions of an attempt's token for each loop permission level (ADR 0011).
@@ -34,6 +36,8 @@ export const WORKER_TOKEN_PERMISSIONS = {
34
36
  metadata: "read",
35
37
  /** Allows pull request comments, reviews, and updates. */
36
38
  pull_requests: "write",
39
+ /** Allows pushes that create or update GitHub workflow files. */
40
+ workflows: "write",
37
41
  },
38
42
  /** Allows code reads and item writes, including reviews and comments; code pushes require write access. */
39
43
  read: {
@@ -1 +1 @@
1
- {"version":3,"file":"access.js","sourceRoot":"","sources":["../src/access.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AACxD,OAAO,EAAc,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC5C,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE/E,kGAAkG;AAClG,MAAM,CAAC,MAAM,+BAA+B,GAAG;IAC7C,mDAAmD;IACnD,MAAM,EAAE,MAAM;IACd,0DAA0D;IAC1D,QAAQ,EAAE,OAAO;IACjB,+CAA+C;IAC/C,MAAM,EAAE,OAAO;IACf,8EAA8E;IAC9E,QA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.1",
4
4
  "description": "GitHub App authentication, installation discovery, project coverage, and scoped token minting for usine.",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  "dependencies": {
51
51
  "fflate": "0.8.3",
52
- "@usine/core": "0.6.1-next.391.g8412ddc.1.1"
52
+ "@usine/core": "0.6.1-next.394.ge2f3cce.1.1"
53
53
  },
54
54
  "devDependencies": {
55
55
  "@effect/platform-node": "4.0.6",