Skip to content

Tag and Release Gem #11

Tag and Release Gem

Tag and Release Gem #11

Workflow file for this run

name: Release Gem
on:
workflow_run:
workflows: ["CI"]
types:
- completed
branches:
- main
permissions:
contents: read
jobs:
push:
if: |
github.event.workflow_run.conclusion == 'success' &&
github.repository == 'rubyatscale/query_packwerk' &&
startsWith(github.ref, 'refs/tags/v')
runs-on: ubuntu-latest
environment: release
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@09d2acae674a48949e3602304ab46fd20ae0c42f # v4.2.2
- name: Set up Ruby
uses: ruby/setup-ruby@354a1ad156761f5ee2b7b13fa8e09943a5e8d252 # v1.229.0
with:
bundler-cache: true
ruby-version: ruby
# Release
- uses: rubygems/release-gem@a25424ba2ba8b387abc8ef40807c2c85b96cbe32 # v1