toolkit icon indicating copy to clipboard operation
toolkit copied to clipboard

The GitHub ToolKit for developing GitHub Actions.

Results 328 toolkit issues
Sort by recently updated
recently updated
newest added

**Describe the bug** I found an issue when combining continue-on-error in a step 1 and failure()' in a step 2. It is not working as expected. In my scenario I...

bug

Fixes https://github.com/actions/toolkit/issues/1684

**Describe the bug** I've updated a local package-lock.json file in a subdirectory in our project. We are using the actions/cache@v3 github action to cache NPM data and if data is...

bug

Adds isGhes utility that allows to determine whether action runs on Github Enterprise Server. As it's been seen continuously reimplemented across setup actions: - [setup-go](https://github.com/actions/setup-go/blob/db8764c1e24b94e6bf86c7b9195ce862c97a4090/src/cache-utils.ts#L62) - [setup-node](https://github.com/actions/setup-node/blob/ca2d4e0cdd8c63d9ebfedc3d16d450a870caf31c/src/cache-utils.ts#L294) - [setup-python](https://github.com/actions/setup-python/blob/61a6322f88396a6271a6ee3565807d608ecaddd1/src/utils.ts#L102) -...

undici is used in `@actions/github`, but it isn't in dependencies: - https://github.com/actions/toolkit/blob/ef77c9d60bdb03700d7758b0d04b88446e72a896/packages/github/src/internal/utils.ts#L4 - https://github.com/actions/toolkit/blob/ef77c9d60bdb03700d7758b0d04b88446e72a896/packages/github/package.json#L40-L48

bug

**Describe the bug** This issue is more general, but specifically a problem for version numbers. Take ``` with: version: 1.10 ``` `getInput` returns this as a string `"1.1"`, whereas ```...

bug

## Description I want to access the name of the runner executing an action. From [runner-context](https://docs.github.com/en/actions/learn-github-actions/contexts#runner-context) I want to access: - `runner.name` - `runner.os` - `runner.arch` For `runner.os` and `runner.arch`...

enhancement

**Describe the bug** platform is undefined **To Reproduce** Steps to reproduce the behavior: 1. Create an index.js script that looks like: ```javascript import { platform } from "@actions/core"; console.log("platform is",...

bug

I was reading through the code, when I noticed that the third `it` function seemed to have been copied and pasted from the second test in the _auth.test.ts_. This PR...

**Describe the bug** `@actions/artifact` v2.1.1 has been uploaded to npm for a week (see https://www.npmjs.com/package/@actions/artifact/v/2.1.1), but there's no corresponding Git tag pushed. **To Reproduce** Check https://github.com/actions/toolkit/tags. **Expected behavior** A tag...

bug