Skip to content

Drop Ruby 3.1 support; automate release process #2

Drop Ruby 3.1 support; automate release process

Drop Ruby 3.1 support; automate release process #2

Workflow file for this run

name: Tag and Release
on:
workflow_dispatch:
push:
branches:
- main
paths:
- "lib/tiktoken_ruby/version.rb"
pull_request_target:
types:
- closed
permissions:
pull-requests: write
contents: write
id-token: write
actions: write
jobs:
ruby:
uses: gjtorikian/actions/.github/workflows/ruby_gem_release.yml@main
secrets:
gh_token: ${{ secrets.GITHUB_TOKEN }}
with:
gem_name: tiktoken_ruby
version_filepath: lib/tiktoken_ruby/version.rb
oxidized: true
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'))) }}
oidc_role_to_assume: rg_oidc_akr_3jwh8zr6mroh6nafxc7s

Check failure on line 31 in .github/workflows/tag_and_release.yml

View workflow run for this annotation

GitHub Actions / Tag and Release

Invalid workflow file

The workflow is not valid. .github/workflows/tag_and_release.yml (Line: 31, Col: 28): Invalid input, oidc_role_to_assume is not defined in the referenced workflow. .github/workflows/tag_and_release.yml (Line: 22, Col: 11): Secret rubygems_api_key is required, but not provided while calling.