Skip to content

Tag and Release Gem

Tag and Release Gem #3

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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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@9e85cb11501bebc2ae661c1500176316d3987059 # v1