Sha256: 0571907d89292549f3cf2fe8892f360b6361fe0516de382e5b3beb155139d49e

Contents?: true

Size: 705 Bytes

Versions: 1

Compression:

Stored size: 705 Bytes

Contents

name: Tag and Release

on:
  workflow_dispatch:
  push:
    branches:
      - main
    paths:
      - "lib/html_pipeline/version.rb"
  pull_request_target:
    types:
      - closed

jobs:
  ruby:
    uses: yettoapp/actions/.github/workflows/ruby_gem_release.yml@main
    secrets:
      rubygems_api_key: ${{ secrets.RUBYGEMS_API_BOT_KEY }}
      gh_token: ${{ secrets.GITHUB_TOKEN }}
    with:
      gem_name: html-pipeline
      version_filepath: lib/html_pipeline/version.rb
      prepare: ${{ github.event_name == 'push' }}
      release: ${{ github.event_name == 'workflow_dispatch' || ((github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'release'))) }}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
html-pipeline-3.2.1 .github/workflows/publish.yml