Skip to content

Comments

update release workflow to publish ruby gem automatically#580

Merged
rei-moo merged 3 commits intomainfrom
rei-moo/release-gem-publish
Feb 20, 2026
Merged

update release workflow to publish ruby gem automatically#580
rei-moo merged 3 commits intomainfrom
rei-moo/release-gem-publish

Conversation

@rei-moo
Copy link
Contributor

@rei-moo rei-moo commented Feb 20, 2026

All PRs:

  • Has tests
  • Documentation updated

Adding a new header

Generally, adding a new header is always OK.

  • Is the header supported by any user agent? If so, which?
  • What does it do?
  • What are the valid values for the header?
  • Where does the specification live?

Adding a new CSP directive

  • Is the directive supported by any user agent? If so, which?
  • What does it do?
  • What are the valid values for the directive?

Copilot AI review requested due to automatic review settings February 20, 2026 19:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the GitHub release workflow to automatically publish the secure_headers Ruby gem to RubyGems when a version tag is pushed. The workflow leverages GitHub's OIDC authentication to securely publish to RubyGems without requiring stored API tokens, which aligns with the gem's MFA requirements.

Changes:

  • Added id-token: write permission to enable OIDC authentication for RubyGems publishing
  • Added steps to checkout code, set up Ruby environment, and publish the gem using rubygems/release-gem@v1

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

rei-moo and others added 2 commits February 21, 2026 04:50
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@rei-moo rei-moo merged commit 4111d49 into main Feb 20, 2026
15 checks passed
@rei-moo rei-moo deleted the rei-moo/release-gem-publish branch February 20, 2026 19:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants