From 4635729959253ace78be76ea22b5d1f268c3a81f Mon Sep 17 00:00:00 2001 From: Nick Nicholas Date: Tue, 16 Jun 2026 23:22:27 +1000 Subject: [PATCH] Route release.yml through metanorma/support wrapper --- .github/workflows/rake.yml | 21 +++++++++++++++++++++ .github/workflows/release.yml | 8 ++++++-- .rubocop.yml | 10 ++++++++++ 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/rake.yml create mode 100644 .rubocop.yml diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml new file mode 100644 index 0000000..a81bc6b --- /dev/null +++ b/.github/workflows/rake.yml @@ -0,0 +1,21 @@ +# Auto-generated by Cimas: Do not edit it manually! +# See https://github.com/metanorma/cimas +name: rake + +on: + push: + branches: [ master, main ] + tags: [ v* ] + pull_request: + +permissions: + contents: write + +jobs: + rake: + uses: metanorma/ci/.github/workflows/generic-rake.yml@main + with: + setup-tools: libreoffice + submodules: false + secrets: + pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7779003..94f69c0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,12 +14,16 @@ on: repository_dispatch: types: [ do-release ] +permissions: + contents: write + packages: write + id-token: write + jobs: release: - uses: metanorma/ci/.github/workflows/rubygems-release.yml@main + uses: metanorma/support/.github/workflows/release.yml@main with: next_version: ${{ github.event.inputs.next_version }} secrets: rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }} - pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }} diff --git a/.rubocop.yml b/.rubocop.yml new file mode 100644 index 0000000..ac0ef06 --- /dev/null +++ b/.rubocop.yml @@ -0,0 +1,10 @@ +# Auto-generated by Cimas: Do not edit it manually! +# See https://github.com/metanorma/cimas +inherit_from: + - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml + +# local repo-specific modifications +# ... + +AllCops: + TargetRubyVersion: 3.4