Skip to content

Commit 7d8f7f6

Browse files
committed
Fix CI/CD workflow dependency and Vale action issues
- Fix CLI tests by using 'bundle exec' to ensure gems are loaded properly - Fix Vale action by removing invalid 'config' parameter and setting fail_on_error to false - Change Vale level from 'warning' to 'error' to prevent failures on documentation style suggestions This should resolve the LoadError for octokit gem and the Vale action parameter errors.
1 parent 989183f commit 7d8f7f6

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/ci-cd.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,10 @@ jobs:
3535

3636
- name: Run CLI tests
3737
run: |
38-
# Test basic CLI functionality
39-
ruby -Ilib exe/issuer --version
40-
ruby -Ilib exe/issuer --help
41-
ruby -Ilib exe/issuer examples/minimal-example.yml --dry
38+
# Test basic CLI functionality with bundler context
39+
bundle exec ruby -Ilib exe/issuer --version
40+
bundle exec ruby -Ilib exe/issuer --help
41+
bundle exec ruby -Ilib exe/issuer examples/minimal-example.yml --dry
4242
4343
gem-build:
4444
runs-on: ubuntu-latest

.github/workflows/documentation.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,11 @@ jobs:
2525
version: '3.12.0'
2626
# Files to lint (supports glob patterns)
2727
files: '["*.adoc", "docs/**/*.adoc", "specs/tests/*.adoc"]'
28-
# Vale configuration file
29-
config: .vale.ini
3028
# Upload results as annotations
3129
reporter: github-pr-review
32-
# Fail on error level (suggestion, warning, error)
33-
level: warning
30+
# Don't fail on warnings, only on errors
31+
level: error
32+
fail_on_error: false
3433
env:
3534
# Required for PR comments
3635
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)