# PinConfig (/docs/api/interfaces/PinConfig)



Defined in: [packages/core/src/config.ts:42](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L42)

Pin-on-compile policy. At `actio build`, pinnable `uses:` refs are rewritten to
an immutable SHA / digest with the original tag kept as a trailing comment.

## Properties [#properties]

### allow? [#allow]

```ts
optional allow?: string[];
```

Defined in: [packages/core/src/config.ts:52](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L52)

Globs (matched against `owner/repo` or the full ref) always left on their tag.

***

### comment? [#comment]

```ts
optional comment?: PinCommentStyle;
```

Defined in: [packages/core/src/config.ts:54](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L54)

Trailing comment style for pinned refs. Default "tag".

***

### docker? [#docker]

```ts
optional docker?: boolean;
```

Defined in: [packages/core/src/config.ts:50](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L50)

Pin `uses: docker://img:tag` references. Default true.

***

### enabled? [#enabled]

```ts
optional enabled?: boolean;
```

Defined in: [packages/core/src/config.ts:44](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L44)

Master switch. Default true.

***

### github? [#github]

```ts
optional github?: boolean;
```

Defined in: [packages/core/src/config.ts:48](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L48)

Pin first-party actions (`actions/*`, `github/*`). Default false.

***

### thirdParty? [#thirdparty]

```ts
optional thirdParty?: boolean;
```

Defined in: [packages/core/src/config.ts:46](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/config.ts#L46)

Pin third-party actions (any owner other than `actions`/`github`). Default true.


## Sitemap

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