Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Adjust workflow permissions so it can bump version #85

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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

Comment on lines -21 to -23
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not needed, will be done by semantic release after version is resolved

- 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
Loading