diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index 9d12bb0..9a6f9b2 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 833b59b..94f69c0 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 7ee1ffb..ac0ef06 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