Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Apply suggestions from code review
  • Loading branch information
parkerbxyz authored Mar 1, 2024
commit 290374300eba0974142053d2dd81cb2ae19cded8
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -241,11 +241,11 @@ GitHub App installation access token.

### `installation-id`

GitHub App's installation Id.
GitHub App installation ID.

### `app-slug`

GitHub App's slug.
GitHub App slug.

## How it works

Expand Down
4 changes: 2 additions & 2 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ outputs:
token:
description: "GitHub installation access token"
installation-id:
description: "GitHub App's installation Id"
description: "GitHub App installation ID"
app-slug:
description: "GitHub App's slug"
description: "GitHub App slug"
runs:
using: "node20"
main: "dist/main.cjs"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ await test((mockPool) => {
process.env.INPUT_OWNER = "smockle";
delete process.env.INPUT_REPOSITORIES;

// Mock installation id and app slug request
// Mock installation ID and app slug request
const mockInstallationId = "123456";
const mockAppSlug = "github-actions";
mockPool
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ await test((mockPool) => {
process.env.INPUT_OWNER = "smockle";
delete process.env.INPUT_REPOSITORIES;

// Mock installation id and app slug request
// Mock installation ID and app slug request
const mockInstallationId = "123456";
const mockAppSlug = "github-actions";
mockPool
Expand Down
2 changes: 1 addition & 1 deletion tests/main-token-get-owner-unset-repo-unset.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ await test((mockPool) => {
delete process.env.INPUT_OWNER;
delete process.env.INPUT_REPOSITORIES;

// Mock installation id and app slug request
// Mock installation ID and app slug request
const mockInstallationId = "123456";
const mockAppSlug = "github-actions";
mockPool
Expand Down
2 changes: 1 addition & 1 deletion tests/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export async function test(cb = (_mockPool) => {}, env = DEFAULT_ENV) {

// Calling `auth({ type: "app" })` to obtain a JWT doesn’t make network requests, so no need to intercept.

// Mock installation id and app slug request
// Mock installation ID and app slug request
const mockInstallationId = "123456";
const mockAppSlug = "github-actions";
const owner = env.INPUT_OWNER ?? env.GITHUB_REPOSITORY_OWNER;
Expand Down