From 1a49229fd3b34ae9c5c64494aa2e151fdcedb9c8 Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Tue, 16 Jun 2026 23:23:21 +1000 Subject: [PATCH] Route release.yml through metanorma/support wrapper --- .github/workflows/rake.yml | 9 ++++----- .github/workflows/release.yml | 15 ++++++++------- .rubocop.yml | 11 +---------- 3 files changed, 13 insertions(+), 22 deletions(-) diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index 9d12bb02..9a6f9b27 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -2,18 +2,17 @@ # See https://github.com/metanorma/cimas name: rake -permissions: - contents: write - packages: write - on: push: branches: [ master, main ] tags: [ v* ] pull_request: +permissions: + contents: write + jobs: rake: uses: metanorma/ci/.github/workflows/generic-rake.yml@main secrets: - pat_token: ${{ secrets.LUTAML_CI_PAT_TOKEN }} + pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 833b59b6..94f69c07 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,11 +2,6 @@ # See https://github.com/metanorma/cimas name: release -permissions: - contents: write - packages: write - id-token: write - on: workflow_dispatch: inputs: @@ -19,10 +14,16 @@ on: repository_dispatch: types: [ do-release ] +permissions: + contents: write + packages: write + id-token: write + jobs: release: - uses: relaton/support/.github/workflows/release.yml@main + uses: metanorma/support/.github/workflows/release.yml@main with: next_version: ${{ github.event.inputs.next_version }} secrets: - rubygems-api-key: ${{ secrets.LUTAML_CI_RUBYGEMS_API_KEY }} + rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }} + diff --git a/.rubocop.yml b/.rubocop.yml index 7ee1ffbb..ac0ef061 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,18 +2,9 @@ # See https://github.com/metanorma/cimas inherit_from: - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml - - .rubocop_todo.yml - -inherit_mode: - merge: - - Exclude # local repo-specific modifications # ... -plugins: - - rubocop-rspec - - rubocop-performance - - rubocop-rake AllCops: - TargetRubyVersion: 3.0 + TargetRubyVersion: 3.4