Contributions like bug fixes and enhancements may be submitted through Pull Requests on this repository. Before we can accept 3rd-party pull requests, you will first need to sign and submit the Contribution Agreement. Please make sure to mention your GitHub username when submitting the form, to allow us to verify that the author of a pull request has accepted this agreement.
After cloning this repository, please run ./configure.sh to install npm modules and configure git hooks. When adding a new NodeJS-based action, you'll need to update <repo-root>/configure.sh
to add the action directory to the for-loop.
Action documentation is generated from the doc-resources
directory, using functionality provided by https://github.com/fortify/shared-doc-resources. The doc-resources
directory contains the following:
templates/README.template.md
: Template for the top-levelREADME.md
filetemplates/<action-name>/README.template.md
: Template for the README.md file for each actionaction-<action-name>.md
: Documentation for each action, included by both the corresponding action readme template, and the top-level readme (throughrepo-readme.md
)env-*.md
: Documentation for the environment variables supported by the various actions. Most of these are named after the action that they correspond to, for exampleenv-fod-login.md
(corresponding to theinternal/fod-login
action), listing action-specific environment variables. Others describe generic environment variables that are shared by multiple actions, for exampleenv-fod-release.md
.nocomments.env-*-sample.md
: Most of theenv-*.md
files mentioned above have a corresponding sample file that shows how to configure the variables in a GitHub workflow.repo-devinfo.md
: Information for developersrepo-readme.md
: Top-level readme contentsrepo-usage.md
: Used to generated top-level USAGE.md, just refers to README.mdtemplate-values.md
: Defines variables used in documentation resourcesupdate-repo-docs.sh
: Script to generate documentation resources
If you need to update the documentation for an existing action, you'll want to edit the corresponding action-<action-name>.md
file.
When adding a new action, you should:
- Create a corresponding directory in the
doc-resources/templates
directory - Copy an existing
README.template.md
from one of the other action template directories - Change the header and include statement in the new
README.template.md
to match the new action - Create a new
action-<action-name>.md
file in thedoc-resources
directory
This document was auto-generated from CONTRIBUTING.template.md; do not edit by hand