New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@effect-native/github-action-scratchpad

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@effect-native/github-action-scratchpad

GitHub Action prototype using Effect with no build step

latest
Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

@effect-native/github-action-scratchpad

Effect-based GitHub Actions toolkit prototype with no build step.

Features

  • No build step - Uses Node.js 24 native TypeScript support
  • Effect-based API - Full Effect wrappers for GitHub Actions
  • Ludicrously obvious naming - GitHubActionRunner, GitHubActionWorkflowContext, GitHubActionClient

Modules

GitHubActionRunner

Communicates with the GitHub Actions Runner:

  • Inputs/outputs (getInput, setOutput)
  • Logging (debug, info, warning, error, notice)
  • Groups (startGroup, endGroup, group)
  • Environment (exportVariable, addPath, setSecret)
  • State (saveState, getState)
  • Lifecycle (setFailed)

GitHubActionWorkflowContext

Provides workflow execution context:

  • Event payload
  • Repository info
  • Commit SHA, ref
  • Actor
  • Run metadata

GitHubActionClient

GitHub API client (Octokit):

  • getOctokit(token) - Get authenticated Octokit instance

Usage

import * as Effect from "effect/Effect"
import { 
  GitHubActionRunner, 
  GitHubActionWorkflowContext, 
  GitHubActionClient 
} from "@effect-native/github-action-scratchpad"

const program = Effect.gen(function* () {
  const ctx = yield* GitHubActionWorkflowContext.context
  yield* GitHubActionRunner.info(`Running in ${ctx.repo.owner}/${ctx.repo.repo}`)
  
  const token = yield* GitHubActionRunner.getInput("github-token")
  const octokit = yield* GitHubActionClient.getOctokit(token)
  
  yield* GitHubActionRunner.setOutput("result", "success")
})

FAQs

Package last updated on 27 Nov 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts