Skip to main content

GitHub Action: mega-linter

Template repository of composite GitHub Action

Introduction

This is template repository to create composite GitHub Actions. Feel free to use it as reference and starting point.

Usage

  name: github-action-mega-linter
on:
pull_request:
branches: [ 'main' ]
types: [opened, synchronize, reopened, closed, labeled, unlabeled]

jobs:
context:
runs-on: ubuntu-latest
steps:
- name: github-action-mega-linter
uses: cloudposse/example-github-action-composite@main
id: example
with:
param1: true

outputs:
result: ${{ steps.example.outputs.result1 }}

Inputs

NameDescriptionDefaultRequired
param1Input parameter placeholdertruetrue

Outputs

NameDescription
result1Output result placeholder