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
6 changes: 6 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"extends": ["@commitlint/config-conventional"],
"rules": {
"body-max-line-length": [0]
}
}
8 changes: 8 additions & 0 deletions .github/workflows/lint-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name: Lint Commit Messages

on:
pull_request:

jobs:
lint-commits:
uses: appfolio/rubygems-releaser/.github/workflows/lint-commits.yml@v1

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 thread
Maimer marked this conversation as resolved.
Dismissed
13 changes: 13 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Publish Gem

on:
release:
types: [published]

permissions:
contents: write
id-token: write

jobs:
publish:
uses: appfolio/rubygems-releaser/.github/workflows/publish.yml@v1
33 changes: 0 additions & 33 deletions .github/workflows/push_gem.yml

This file was deleted.

15 changes: 15 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Release Gem

on:
push:
branches:
- main
- master

permissions:
contents: write
pull-requests: write

jobs:
release:
uses: appfolio/rubygems-releaser/.github/workflows/release.yml@v1
3 changes: 3 additions & 0 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "6.5.0"
}
4 changes: 2 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ require 'fileutils'
require 'rake'
require 'appraisal'

require 'rake/testtask'
require 'bundler/gem_tasks'

Bundler::GemHelper.install_tasks
require 'rake/testtask'

def remove_files(glob_pattern)
puts "Removing '#{glob_pattern}'"
Expand Down
61 changes: 61 additions & 0 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"bootstrap-sha": "c890ddd77f06d458a7cd9f4a09263e4ea9e4ea54",
"packages": {
".": {
"changelog-path": "CHANGELOG.md",
"version-file": "lib/ae_page_objects/version.rb",
"release-type": "ruby",
"bump-minor-pre-major": false,
"bump-patch-for-minor-pre-major": false,
"draft": false,
"prerelease": false
}
},
"changelog-sections": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Performance Improvements"
},
{
"type": "revert",
"section": "Reverts"
},
{
"type": "docs",
"section": "Documentation"
},
{
"type": "style",
"section": "Styles"
},
{
"type": "chore",
"section": "Miscellaneous Chores"
},
{
"type": "refactor",
"section": "Code Refactoring"
},
{
"type": "test",
"section": "Tests"
},
{
"type": "build",
"section": "Build System"
},
{
"type": "ci",
"section": "Continuous Integration"
}
],
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
Loading