Welcome to the GitHub Workflows repository of AI-CFIA! This repository contains various GitHub Actions workflows that assist in automating our software development processes.
This repository is dedicated to providing automated solutions and workflows for various operations within our GitHub projects. It contains a collection of reusable workflows for the CI/CD pipelines, testing, and other automated processes within GitHub Actions.
Each workflow has an associated documentation file that explains its purpose, usage, and any required secrets or inputs. You can find these files in the same directory as their corresponding workflow file.
Here are the available workflows and their associated documentation:
- Reusable Docker Container Build
- Reusable Docker Container Deployment to Google Cloud Run
- Reusable Lint and Test Workflow for Node (React) Projects
- Reusable Lint and Test Workflow for Python Projects
- Reusable Workflow for Standardization Validation
- Reusable Build and Deploy to GitHub Pages
- Reusable Vercel Deployment
- Reusable Build and Push to GCR
To use these workflows in your project, you can call them using
workflow_dispatch
. Here’s a basic example of how to call a workflow:
name: <Workflow's purpose>
on:
push:
branches: [ main ]
jobs:
my_job:
uses: $OWNER/$REPO/.github/workflows/$WORKFLOW_FILE_NAME.yaml@$BRANCH
secrets: inherit # required if the called workflow you uses secrets
with: # to pass inputs to called workflow
input: value