Skip to content

Merge pull request #109 from maxmind/nobeid/github-actions-zizmor #72

Merge pull request #109 from maxmind/nobeid/github-actions-zizmor

Merge pull request #109 from maxmind/nobeid/github-actions-zizmor #72

Workflow file for this run

name: Release
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
release:
types:
- published
jobs:
push:
if: github.event_name == 'release' && github.event.action == 'published'
runs-on: ubuntu-latest
environment: release
permissions:
id-token: write
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- name: Set up Ruby
uses: ruby/setup-ruby@refs/heads/v1
with:
ruby-version: ruby
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
# specify that we want the v1 branch.
- uses: rubygems/release-gem@refs/heads/v1