
Security News
rv Is a New Rust-Powered Ruby Version Manager Inspired by Python's uv
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
@penfold/github-actions-include
Advanced tools
> Simple but effective partials system for GitHub Actions
Simple but effective partials system for GitHub Actions
Compiles GitHub Actions workflows with "partials", ie. partial workflow YAML
configuration, using an #!include(partial_name)
directive.
Workflow:
# github/workflows/cleanup.yml
name: Cleanup
on: [push]
jobs:
#!include(setup_environment)
Partial:
# github/partials/setup_environment.yml
setup_env:
name: Setup environment
runs-on: ubuntu-latest
steps:
# ...
Result:
# .github/workflows/cleanup.yml
name: Cleanup
on: [push]
jobs:
setup_env:
name: Setup environment
runs-on: ubuntu-latest
steps:
# ...
NPM:
npm install --dev @penfold/github-actions-include
Yarn:
yarn add --dev @penfold/github-actions-include
$ github-actions-include --help
Options:
--help Show help [boolean]
--version Show version number [boolean]
--partialsDir Path to partials [string]
--workflowsDir Path to workflows (must not be .github/workflows)
[string] [required]
--includeWarningReadme Include warning README.md in .github/workflows
[boolean] [default: true]
const githubActionsInclude = require("github-actions-include");
// Options object and all fields are optional
githubActionsInclude({
workflowsDir: "github/workflows",
partialsDir: "github/partials",
includeWarningReadme: true,
});
workflowsDir
Default: github/workflows
The folder in your project where you will write your GH Actions workflows.
Cannot be .github/workflows
.
partialsDir
Default: github/partials
The folder in your project where you will write your GH Actions partials.
includeWarningReadme
Default: true
Whether to include a warning README in .github/workflows
that tells developers not to make
changes in that folder, but in the folder specified by workflowsDir
.
Create by Penfold and released under the MIT license.
FAQs
> Simple but effective partials system for GitHub Actions
The npm package @penfold/github-actions-include receives a total of 201 weekly downloads. As such, @penfold/github-actions-include popularity was classified as not popular.
We found that @penfold/github-actions-include demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.