Repository for reusable workflows.
Example of .github/workflows/ci.yaml
:
name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
ci:
# Suggest using stable branch, tag or sha.
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-ci.yaml@main
Example of .github/workflows/cd.yaml
:
name: CD
on:
release:
types:
- published
jobs:
cd:
# Suggest using stable branch, tag or sha.
uses: halo-sigs/reusable-workflows/.github/workflows/plugin-cd.yaml@v2
secrets:
halo-pat: ${{ secrets.HALO_PAT }}
permissions:
contents: write
with:
# This is required for releasing to Halo App Store.
app-id: app-Qxhpp