GitHub Workflows to use in other projects
Usage example
name: AutoRelease
on:
push:
branches: [main]
paths: [VERSION]
workflow_dispatch:
jobs:
BuildAndRelease:
uses: mitoteam/shared-actions/.github/workflows/go-pkg-autorelease.yml@main
with:
draft_release: false # publish it if everything goes well
secrets: inherit
permissions:
contents: writeUsage example
name: Build-and-Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
workflow_dispatch:
jobs:
BuildAndTest:
uses: mitoteam/shared-actions/.github/workflows/goapp-build-and-test.yml@main
with:
install_sass: true
secrets: inherit
permissions:
contents: writeUsage example
name: AutoRelease
on:
push:
branches: [main]
paths: [VERSION]
workflow_dispatch:
jobs:
AutoRelease:
uses: mitoteam/shared-actions/.github/workflows/goapp-autorelease.yml@main
with:
dist_name: "mt-checklist"
draft_release: true # do not auto-publish
install_sass: true
secrets: inherit
permissions:
contents: write