Skip to content

Commit

Permalink
chore: sync ci from cimas metanorma/ci#182
Browse files Browse the repository at this point in the history
  • Loading branch information
CAMOBAP committed Sep 5, 2024
1 parent de9731c commit 6d102b1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ on:
tags: [ v* ]
pull_request:

permissions:
contents: write

jobs:
rake:
uses: relaton/support/.github/workflows/rake.yml@main
uses: metanorma/ci/.github/workflows/generic-rake.yml@main
secrets:
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@ on:
repository_dispatch:
types: [ do-release ]


jobs:
release:
uses: relaton/support/.github/workflows/release.yml@main
uses: metanorma/ci/.github/workflows/rubygems-release.yml@main
with:
next_version: ${{ github.event.inputs.next_version }}
secrets:
rubygems-api-key: ${{ secrets.RELATON_CI_RUBYGEMS_API_KEY }}
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}

14 changes: 8 additions & 6 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
AllCops:
TargetRubyVersion: 3.0
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
inherit_from:
- https://raw.githubusercontent.com/riboseinc/oss-guides/master/ci/rubocop.yml

Style/StringLiterals:
EnforcedStyle: double_quotes
# local repo-specific modifications
# ...

Style/StringLiteralsInInterpolation:
EnforcedStyle: double_quotes
AllCops:
TargetRubyVersion: 3.4

0 comments on commit 6d102b1

Please sign in to comment.