35 lines
No EOL
1.4 KiB
Markdown
35 lines
No EOL
1.4 KiB
Markdown
# shared-actions
|
|
|
|
Shared actions for Forgejo CI/CD pipelines.
|
|
|
|
## Actions
|
|
|
|
| Action | Description |
|
|
|--------|-------------|
|
|
| [aikido-full-scan](aikido-full-scan) | Aikido full scan |
|
|
| [aikido-pr-scan](aikido-pr-scan) | Aikido PR scan |
|
|
| [aws-configure](aws-configure) | Authenticate with AWS via OIDC |
|
|
| [cache](cache) | Cache files between workflow runs |
|
|
| [checkout](checkout) | Action for checking out a repository |
|
|
| [inject-content](inject-content) | Inject content into a file by appending or overwriting |
|
|
| [pnpm-build](pnpm-build) | Action for building and validating with PNPM |
|
|
| [publish-static-contents](publish-static-contents) | Syncs frontend assets to S3 and invalidates a CloudFront distribution |
|
|
| [terraform-apply](terraform-apply) | Apply Terraform configuration files using the official Terraform CLI |
|
|
| [terraform-validate](terraform-validate) | Validate Terraform configuration files using the official Terraform CLI |
|
|
|
|
|
|
## Security
|
|
|
|
Where third-party Forgejo/GitHub Actions are used internally, they are pinned to exact commit hashes rather than mutable tags to prevent supply chain attacks.
|
|
|
|
## Usage
|
|
|
|
Reference actions from your project's workflow:
|
|
|
|
```yaml
|
|
- uses: https://schmalz-git.git.onstackit.cloud/schmalz/shared-actions/<action-name>@<action-name>-v1
|
|
with:
|
|
# see each action's README for inputs
|
|
```
|
|
|
|
Each action has its own README with inputs, usage examples, and notes. |