Action Plugin Development
This directory contains the decomposed documentation of the "AtomGit Actions Plugin Development Specification". The content is sourced from the original specification file. It covers the plugin project structure, metadata syntax, top-level fields, runtime environment variables, development guidelines, security standards, testing, packaging, and release.
📄️ Plugin Project Structure
Developing an AtomGit Actions plugin requires following a series of specifications and best practices, covering the definition of plugin metadata, code development, and the complete process of referencing the plugin.
📄️ action.yml Metadata Syntax
action.yml is the core configuration file of the plugin, containing information such as the plugin's metadata, inputs and outputs, and runtime environment. Use action.yml to identify and load the plugin.
📄️ Top-level Fields
name
📄️ Runtime Environment Variables
Pipeline System Variables
📄️ Plugin Development Guide
Language
📄️ Plugin Security Standards
Handling Sensitive Data
📄️ Plugin Packaging
The Atomgit Actions plugin requires executing build commands to generate executable js files, which can be directly referenced and executed in the pipeline. The build process is orchestrated through configuration in package.json.