Skip to content
Merged
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
7 changes: 7 additions & 0 deletions .fluence-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Per-project options for the fluence-eu/ci-workflows@v6 reusables.
# Full key schema: https://github.com/fluence-eu/ci-workflows#per-project-configuration-fluence-ciyml
codequality:
paths: lib

release:
gem_specs: filterable
4 changes: 1 addition & 3 deletions .github/workflows/codequality-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ on:

jobs:
measure:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-measure.yml@v5
with:
paths: 'lib'
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-measure.yml@v6
permissions:
contents: read
packages: read
4 changes: 1 addition & 3 deletions .github/workflows/codequality-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ on:

jobs:
codequality:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-pr.yml@v5
with:
paths: 'lib'
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-codequality-pr.yml@v6
secrets:
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/coverage-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
measure:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-measure.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-measure.yml@v6
permissions:
contents: read
packages: read
2 changes: 1 addition & 1 deletion .github/workflows/coverage-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
coverage:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-pr.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-coverage-pr.yml@v6
secrets:
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
docs:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-deploy.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-deploy.yml@v6
permissions:
contents: read
pages: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
measure:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-measure.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-measure.yml@v6
permissions:
contents: read
packages: read
2 changes: 1 addition & 1 deletion .github/workflows/docs-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
docs:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-pr.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-docs-pr.yml@v6
secrets:
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/prepare-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@ on:

jobs:
prepare:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-prepare-release.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-prepare-release.yml@v6
with:
gem_specs: filterable
bump: ${{ inputs.bump }}
secrets:
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ name: Publish Gem
on:
release:
types: [published]
workflow_dispatch:
inputs:
tag:
description: Tag to publish (e.g. v0.10.0). Must already have a corresponding GitHub Release with the gem asset(s) attached.
required: true
type: string

jobs:
publish:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-publish.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-publish.yml@v6
with:
gem_name: filterable
tag: ${{ inputs.tag }}
permissions:
contents: read
packages: write
11 changes: 2 additions & 9 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,15 @@
name: Release

on:
# Only fires on pushes that touch the version file — i.e. when the release PR
# merges. Feature merges don't match, so no ghost runs.
push:
branches: [main]
paths:
- lib/filterable/version.rb
- lib/**/version.rb

jobs:
release:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-release.yml@v5
with:
gem_specs: filterable
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-release.yml@v6
secrets:
# Forwarded so `gh release create` runs with the App's installation token.
# App-issued release events trigger downstream publish.yml — GITHUB_TOKEN
# does not (GitHub anti-loop rule).
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rubocop-measure.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
measure:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-rubocop-measure.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-rubocop-measure.yml@v6
permissions:
contents: read
packages: read
2 changes: 1 addition & 1 deletion .github/workflows/rubocop-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:

jobs:
rubocop:
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-rubocop-pr.yml@v5
uses: fluence-eu/ci-workflows/.github/workflows/ruby-gem-rubocop-pr.yml@v6
secrets:
FLUENCE_CI_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_CI_BOT_PRIVATE_KEY }}
FLUENCE_RELEASE_BOT_PRIVATE_KEY: ${{ secrets.FLUENCE_RELEASE_BOT_PRIVATE_KEY }}
Expand Down
Loading