diff --git a/.github/workflows/push_gem.yml b/.github/workflows/push_gem.yml new file mode 100644 index 0000000..40ad0c6 --- /dev/null +++ b/.github/workflows/push_gem.yml @@ -0,0 +1,33 @@ +name: Push Gem + +on: + workflow_dispatch: + +permissions: + contents: read + +jobs: + push: + if: github.repository == 'indirect/rails-footnotes' + runs-on: ubuntu-latest + + permissions: + contents: write + id-token: write + + steps: + # Set up + - name: Harden Runner + uses: step-security/harden-runner@a4aa98b93cab29d9b1101a6143fb8bce00e2eac4 # v2.7.1 + with: + egress-policy: audit + + - uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4 + - name: Set up Ruby + uses: ruby/setup-ruby@cacc9f1c0b3f4eb8a16a6bb0ed10897b43b9de49 # v1.176.0 + with: + bundler-cache: true + ruby-version: ruby + + # Release + - uses: rubygems/release-gem@612653d273a73bdae1df8453e090060bb4db5f31 # v1 diff --git a/Gemfile.lock b/Gemfile.lock index 429afe4..81879e3 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - rails-footnotes (7.1.0) + rails-footnotes (7.1.1) rails (~> 7.0) GEM diff --git a/lib/rails-footnotes/version.rb b/lib/rails-footnotes/version.rb index 7fe86c1..ba785ff 100644 --- a/lib/rails-footnotes/version.rb +++ b/lib/rails-footnotes/version.rb @@ -1,3 +1,3 @@ module Footnotes - VERSION = "7.1.0" + VERSION = "7.1.1" end