# PinTarget (/docs/api/interfaces/PinTarget)



Defined in: [packages/core/src/passes/pin.ts:28](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L28)

A pinnable `uses:` reference discovered in the workflow.

## Properties [#properties]

### id [#id]

```ts
id: string;
```

Defined in: [packages/core/src/passes/pin.ts:33](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L33)

`owner/repo[/path]` for actions, `image` for docker.

***

### key [#key]

```ts
key: string;
```

Defined in: [packages/core/src/passes/pin.ts:30](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L30)

Canonical cache key: `owner/repo@ref` or `docker://image:tag`.

***

### kind [#kind]

```ts
kind: "action" | "docker";
```

Defined in: [packages/core/src/passes/pin.ts:31](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L31)

***

### owner? [#owner]

```ts
optional owner?: string;
```

Defined in: [packages/core/src/passes/pin.ts:37](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L37)

Action owner (`actions`, `github`, …); undefined for docker.

***

### range? [#range]

```ts
optional range?: Range;
```

Defined in: [packages/core/src/passes/pin.ts:39](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L39)

Source range of the `uses:` node, for diagnostics that point back at it.

***

### ref [#ref]

```ts
ref: string;
```

Defined in: [packages/core/src/passes/pin.ts:35](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/passes/pin.ts#L35)

The mutable ref/tag being pinned.


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)