-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into pg-prepend-comment
- Loading branch information
Showing
149 changed files
with
3,280 additions
and
408 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"include-pull-requests": true, | ||
"types": [ "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "release", "revert", "squash", "style", "test" ] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
name: Conventional Commits Validation | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
types: | ||
- opened | ||
- synchronize | ||
- reopened | ||
- edited | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: read | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} # Ensure that only one instance of this workflow is running per Pull Request | ||
cancel-in-progress: true # Cancel any previous runs of this workflow | ||
|
||
jobs: | ||
validate-commits: | ||
name: Conventional Commits Validation | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: dev-build-deploy/[email protected] | ||
env: | ||
FORCE_COLOR: 3 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
include-commits: false | ||
update-labels: false | ||
config: ".commit-me.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,39 +12,31 @@ permissions: | |
pull-requests: write | ||
|
||
jobs: | ||
release: | ||
prepare: | ||
name: Process Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: google-github-actions/release-please-action@cc61a07e2da466bebbc19b3a7dd01d6aecb20d1e | ||
id: release | ||
- uses: google-github-actions/release-please-action@v4.0.2 | ||
id: prepare | ||
|
||
outputs: | ||
paths_released: ${{ steps.release.outputs.paths_released }} | ||
paths_released: ${{ steps.prepare.outputs.paths_released }} | ||
|
||
publish: | ||
needs: release | ||
needs: prepare | ||
name: Publish Gems | ||
runs-on: ubuntu-latest | ||
if: ${{ needs.release.outputs.paths_released != '[]'}} | ||
if: ${{ needs.prepare.outputs.paths_released != '[]'}} | ||
|
||
strategy: | ||
fail-fast: false | ||
max-parallel: 1 | ||
matrix: | ||
path: ${{ fromJson(needs.release.outputs.paths_released) }} | ||
path: ${{ fromJson(needs.prepare.outputs.paths_released) }} | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 | ||
|
||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@360dc864d5da99d54fcb8e9148c14a84b90d3e88 | ||
with: | ||
ruby-version: 3.0.0 | ||
bundler: latest | ||
bundler-cache: false | ||
|
||
- name: Checkout Repository | ||
uses: actions/checkout@v4 | ||
- name: Configure RubyGems | ||
env: | ||
GEM_HOST_API_KEY: "${{secrets.RUBYGEMS_API_KEY}}" | ||
|
@@ -55,9 +47,15 @@ jobs: | |
chmod 0600 $HOME/.gem/credentials | ||
printf -- "---\n:rubygems_api_key: ${GEM_HOST_API_KEY}\n" > $HOME/.gem/credentials | ||
- name: Release Gem | ||
- uses: ruby/[email protected] | ||
with: | ||
ruby-version: "3.0" | ||
bundler: latest | ||
bundler-cache: false | ||
working-directory: ${{ matrix.path }} | ||
|
||
- name: Publish to RubyGems | ||
working-directory: ${{ matrix.path }} | ||
run: | | ||
bundle install | ||
bundle exec rake --trace build | ||
bundle exec rake --trace release:rubygem_push |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
toys_version! "0.15.3" | ||
toys_version! ">= 0.15.5" | ||
|
||
load_git remote: "https://github.com/dazuma/toys.git", | ||
path: ".toys/release", | ||
as: "release", | ||
commit: "toys/v0.15.3", | ||
commit: "common-tools/v0.15.5.1", | ||
update: 3600 |
Oops, something went wrong.