summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:28 -0500
committerLibravatarUnit 193 <unit193@unit193.net>2025-11-26 19:02:28 -0500
commitc62f8376a13e7a4f493167aba1c66a9201fc59c6 (patch)
treed58492f972be02c406d26620004e1ffe2086fbc7 /.github
parentae103e148eb3c15606b816505492d870ef062ad3 (diff)
New upstream version 3.0.0.upstream/3.0.0upstream
Diffstat (limited to '.github')
-rw-r--r--.github/pull_request_template.md20
-rw-r--r--.github/workflows/pull-request.yml15
-rw-r--r--.github/workflows/release-please.yml52
-rw-r--r--.github/workflows/ruby.yml16
4 files changed, 82 insertions, 21 deletions
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index a0d7f6e..6e152a1 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -1,3 +1,21 @@
+<!--
+Thank you for your contribution!
+
+Please ensure your pull request title follows the Conventional Commits format.
+This is important because our release process is automated based on the commit messages.
+
+Examples:
+- feat: Add new feature
+- fix: Fix a bug
+- docs: Update documentation
+- chore: Build process or auxiliary tool changes
+- refactor: A code change that neither fixes a bug nor adds a feature
+- style: Changes that do not affect the meaning of the code (white-space, formatting, etc)
+- test: Adding missing tests or correcting existing tests
+
+If your change is a breaking change, please add a '!' after the type, e.g., 'feat!: ...'
+-->
+
### Summary
Provide a general description of the code changes in your pull
@@ -11,4 +29,4 @@ If there's anything else that's important and relevant to your pull
request, mention that information here. This could include
benchmarks, or other information.
-Thanks for contributing to Roo! \ No newline at end of file
+Thanks for contributing to Roo!
diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml
deleted file mode 100644
index 9d94c4b..0000000
--- a/.github/workflows/pull-request.yml
+++ /dev/null
@@ -1,15 +0,0 @@
-name: Changelog
-
-on:
- pull_request:
- types: [opened, synchronize, reopened, ready_for_review, labeled, unlabeled]
-
-jobs:
- changelog:
- runs-on: ubuntu-latest
- steps:
- - uses: actions/checkout@v2
- - uses: amoniacou/changelog-enforcer@v1.4.0
- with:
- changeLogPath: 'CHANGELOG.md'
- skipLabel: 'Skip-Changelog'
diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml
new file mode 100644
index 0000000..3f8f67a
--- /dev/null
+++ b/.github/workflows/release-please.yml
@@ -0,0 +1,52 @@
+name: Release Please
+
+on:
+ push:
+ branches:
+ - master
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.ref }}
+ cancel-in-progress: true
+
+jobs:
+ release-please:
+ runs-on: ubuntu-latest
+ outputs:
+ release_created: ${{ steps.release.outputs.release_created }}
+ tag_name: ${{ steps.release.outputs.tag_name }}
+ steps:
+ - uses: googleapis/release-please-action@v4
+ id: release
+ with:
+ config-file: release-please-config.json
+ manifest-file: .release-please-manifest.json
+
+ publish:
+ needs: release-please
+ if: ${{ needs.release-please.outputs.release_created }}
+ runs-on: ubuntu-latest
+ environment: PUBLISH
+ permissions:
+ contents: write
+ id-token: write
+ steps:
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ ref: ${{ needs.release-please.outputs.tag_name }}
+ fetch-tags: true
+
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '3.4'
+ bundler-cache: true
+
+ - name: Publish to RubyGems
+ uses: rubygems/release-gem@v1
+
+ - name: Upload Gem to GitHub Release
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ run: gh release upload ${{ needs.release-please.outputs.tag_name }} ./*.gem --clobber \ No newline at end of file
diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml
index 6892090..9fe5129 100644
--- a/.github/workflows/ruby.yml
+++ b/.github/workflows/ruby.yml
@@ -6,6 +6,11 @@ on:
pull_request:
branches:
- master
+
+concurrency:
+ group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
+ cancel-in-progress: true
+
jobs:
build:
runs-on: ubuntu-latest
@@ -13,17 +18,19 @@ jobs:
fail-fast: false
matrix:
ruby:
- - '2.7'
- - '3.0'
- '3.1'
+ - '3.2'
+ - '3.3'
+ - '3.4'
+ - '3.5'
- ruby-head
- - jruby-9.3.3.0
+ - jruby-9.4.10.0
include:
- ruby: ruby-head
env:
RUBYOPT: '--jit'
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
@@ -31,4 +38,3 @@ jobs:
- run: bundle exec rake
env:
LONG_RUN: true
-