diff --git a/.github/workflows/rake.yml b/.github/workflows/rake.yml index b13a247..9a6f9b2 100644 --- a/.github/workflows/rake.yml +++ b/.github/workflows/rake.yml @@ -8,6 +8,9 @@ on: tags: [ v* ] pull_request: +permissions: + contents: write + jobs: rake: uses: metanorma/ci/.github/workflows/generic-rake.yml@main 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 index 5a1a3d5..ac0ef06 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -1,10 +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/master/ci/rubocop.yml + - https://raw.githubusercontent.com/riboseinc/oss-guides/main/ci/rubocop.yml # local repo-specific modifications # ... AllCops: - TargetRubyVersion: 3.1 + TargetRubyVersion: 3.4