Reusable workflows for use with forgejo actions
Find a file
2026-05-09 13:40:39 +02:00
.forgejo/workflows fix conditionals 2026-05-08 22:22:47 +02:00
chart-release.sh print help 2026-05-08 19:47:06 +02:00
generate-release-notes.sh add a script for generating basic release notes 2026-05-09 13:40:39 +02:00
label-check.sh make some tweaks to log vs output 2026-05-03 19:12:25 +02:00
README.md add label check to docs 2026-05-03 15:32:57 +02:00
semver-bump.sh make some tweaks to log vs output 2026-05-03 19:12:25 +02:00

Reusable Workflows

Docker Build and Push

name: Build Firefox Kiosk Image
on:
  workflow_dispatch:
    inputs:
      tag:
        description: 'Image Tag'
        required: true
        type: string
        default: "latest"

jobs:
  firefox-kiosk:
    uses: small-hack/reusable-workflows/.forgejo/workflows/docker-build-and-push.yaml@main
    with:
      tag: ${{ inputs.tag }}
      path: "./firefox/"
      image: "firefox-kiosk"
      platforms: "linux/amd64,linux/arm64"
      docker_registry: "deserializeme"
      harbor_registry: "smallhack"
    secrets: inherit

Publish Helm Charts

name: Release Charts

on:
  pull_request:
    branches:
      - main
    types:
      [closed]
  workflow_dispatch:

jobs:
  harbor:
    uses: small-hack/reusable-workflows/.forgejo/workflows/publish-charts.yaml@main
    with:
      harbor_url: harbor.smallhack.org
      harbor_project: charts
      force: false
      chart_dir: charts
    secrets: inherit

  forgejo:
    uses: small-hack/reusable-workflows/.forgejo/workflows/publish-charts.yaml@main
    with:
      forgejo_url: https://git.smallhack.org
      owner: small-hack
      repo: kubevirt-community-stack
      force: false
      chart_dir: charts
    secrets: inherit

Renovate

name: Renovate
on:
  workflow_dispatch:
  schedule:
  # This should be every hour
  - cron: '55 * * * *'
  push:
    branches:
      - main
    paths:
      - ".github/renovate-config.json"
      - ".github/workflows/renovate.yml"
      - "renovate.json"
      - "scripts/**"
jobs:
  renovate:
    uses: small-hack/reusable-workflows/.forgejo/workflows/renovate.yaml@main
    secrets: inherit

Check PR Labels

name: Check PR Labels

on:
  pull_request:
    types: [opened, synchronize, reopened, edited, labeled]

permissions:
  contents: read

jobs:
  check-pr-labels:
    uses: small-hack/reusable-workflows/.forgejo/workflows/check-pr-labels.yaml@main
    with:
      default_patch: false
      skip_checks: ""