Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .github/workflows/rake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
11 changes: 4 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@
# See https://github.com/metanorma/cimas
name: release

permissions:
contents: write
packages: write
id-token: write

on:
workflow_dispatch:
inputs:
Expand All @@ -21,8 +16,10 @@

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.LUTAML_CI_RUBYGEMS_API_KEY }}
rubygems-api-key: ${{ secrets.METANORMA_CI_RUBYGEMS_API_KEY }}
pat_token: ${{ secrets.METANORMA_CI_PAT_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +19 to +24

11 changes: 1 addition & 10 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Loading