github-script
github-script copied to clipboard
Write workflows scripting the GitHub API in JavaScript
This version adds a verbose flag to `hashFiles()`, making it easier to debug actions.
**Describe the bug** - `secrets` are a way to manage and use them in workflows when required. - When we tried to add secrets from the GitHub user interface (browser...
Please consider updating default Go to version 1.18 _Originally posted by @panekj in https://github.com/actions/virtual-environments/issues/5490#issuecomment-1118282447_
Hi there, I'm going over a set of inputs and checking which are set to true to eventually feed them to another workflow. Running the code below work fine out...
I've installed npm package globally and I cannot require it from the github script ``` Error: Cannot find module 'xxx' Require stack: - /home/runner/work/_actions/actions/github-script/v6/dist/index.js at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at resolve (node:internal/modules/cjs/helpers:108:19)...
This PR improves the pagination logic for the "Welcome a first-time contributor" example in the README. The [current example](https://github.com/actions/github-script#welcome-a-first-time-contributor) retrieves all issues created by the given user. This means that...
**Is your feature request related to a problem? Please describe.** I'd like to make custom, external request with custom headers for fetching data using `github.request()` in my github-script. However, the...
I'm trying to debug a `script: |` block, and I have to modify the script with `debug: true` to be able to do so even though there's [UI for it](https://docs.github.com/en/actions/managing-workflow-runs/re-running-workflows-and-jobs)...
**Describe the bug** debug: true does nothing. **To Reproduce** Steps to reproduce the behavior: 1. Normal run without debugging: https://github.com/TWiStErRob/github-actions-test/runs/6740560658 2. `debug: false`, all good 3. Re-ran with Enable debug...
What version of octokit is used in this action? I'm trying to get the contents of a file in a repository with: ``` github.rest.repos.getContent({ owner, repo, path, mediaType: { format:...