amplify icon indicating copy to clipboard operation
amplify copied to clipboard

Pick your own Action

Open Alex-is-Gonzalez opened this issue 4 months ago β€’ 1 comments

Description

Pick a action from the Github action market place

Spec

What it do. Acceptance criteria and all that.

Alex-is-Gonzalez avatar Sep 18 '25 19:09 Alex-is-Gonzalez

GitHub Actions Quick Guide

What is a GitHub Action?

A GitHub Action is an automated task you can set up in your GitHub repository. It helps you automate workflows such as testing, building, or deploying your code whenever certain events (like a push or pull request) happen.


What is GitHub Marketplace?

The GitHub Marketplace is a collection of pre-built Actions and workflows created by the community. Instead of writing everything from scratch, you can use or customize existing actions for things like CI/CD, security checks, or notifications.

πŸ”— Browse GitHub Marketplace


What is YAML?

YAML (YAML Ain’t Markup Language) is a human-readable data format used to configure workflows in GitHub Actions.

  • It uses indentation (spaces) instead of brackets or semicolons.
  • GitHub workflows are written as .yml or .yaml files.

Example:

name: CI Workflow
on: [push]
jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - run: echo "Hello, GitHub Actions!"

How to Run GitHub Actions

  1. Add a workflow file (.yml) inside your repo under .github/workflows/.

  2. Commit and push the file to GitHub.

  3. GitHub automatically triggers the action based on the on: event you defined (e.g., push, pull_request).

  • You can monitor runs in the Actions tab of your repository.

Where Do Actions Live in the File Structure?

my-repo/
β”œβ”€β”€ .github/
β”‚   └── workflows/
β”‚       β”œβ”€β”€ ci.yml
β”‚       └── deploy.yml
└── src/
    └── index.js

Alex-is-Gonzalez avatar Sep 23 '25 16:09 Alex-is-Gonzalez