Skip to content

Commit

Permalink
fix: Adjust workflow permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Varpuspaavi committed Jun 14, 2024
1 parent f1b14b9 commit 4b75308
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,32 @@ on:
push:
branches:
- master

permissions:
contents: read

jobs:
release:
runs-on: ubuntu-latest

permissions:
contents: write
id-token: write
issues: write
pull-requests: write

steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- uses: actions/setup-node@5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d
with:
node-version: 20
- uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939
with:
ruby-version: '3.2' # Not needed with a .ruby-version file
ruby-version: "3.2" # Not needed with a .ruby-version file

- name: Install dependencies
run: npm install && bundle install

- name: Build and validate gem
run: gem build

- name: Semantic Release
uses: cycjimmy/semantic-release-action@61680d0e9b02ff86f5648ade99e01be17f0260a4
env:
Expand Down
2 changes: 1 addition & 1 deletion lib/phraseapp-in-context-editor-ruby/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module PhraseappInContextEditor
VERSION = "3.0.0"
VERSION = "3.1.0"
end

0 comments on commit 4b75308

Please sign in to comment.