diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index a65cc67..9a6f9b2 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -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 }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a0520d6..7779003 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} + diff --git a/.rubocop.yml b/.rubocop.yml index 762eebb..be91060 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -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