Skip to content

Commit

Permalink
provide new release workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
gjtorikian committed May 7, 2024
1 parent 97ad85e commit baeeaf1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/tag_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,18 @@ on:
- main
paths:
- "lib/html_proofer/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.PUBLIC_PUSH_TO_PROTECTED_BRANCH }}
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
gem_name: html-proofer
version_filepath: lib/html_proofer/version.rb
labeled: ${{ github.event == 'push' }}
release: ${{ github.event.pull_request.merged == true && contains(github.event.pull_request.title, 'Release:') }}
3 changes: 0 additions & 3 deletions script/generate_changelog

This file was deleted.

0 comments on commit baeeaf1

Please sign in to comment.