-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Use New release workflow (#139)
* Use New release workflow Signed-off-by: Dan Webb <[email protected]> * BREAKING CHANGE: Require Ruby 3.1 --------- Signed-off-by: Dan Webb <[email protected]>
- Loading branch information
Showing
8 changed files
with
31 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,9 @@ | ||
--- | ||
name: "Lint Unit" | ||
|
||
"on": | ||
pull_request: | ||
|
||
jobs: | ||
lint-unit: | ||
uses: test-kitchen/.github/.github/workflows/[email protected] |
This file was deleted.
Oops, something went wrong.
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,9 +1,10 @@ | ||
--- | ||
name: release-please | ||
|
||
"on": | ||
push: | ||
branches: [main] | ||
|
||
name: Release | ||
jobs: | ||
release-please: | ||
runs-on: ubuntu-latest | ||
|
@@ -14,19 +15,21 @@ jobs: | |
release-type: ruby | ||
package-name: kitchen-hyperv | ||
version-file: lib/kitchen/driver/hyperv_version.rb | ||
token: ${{ secrets.PUBLISH_WORKFLOW_TOKEN }} | ||
signoff: "Dan Webb <[email protected]>" | ||
changelog-notes-type: github | ||
token: ${{ secrets.PORTER_GITHUB_TOKEN }} | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
if: ${{ steps.release.outputs.release_created }} | ||
|
||
- name: Build and publish to GitHub Package | ||
uses: actionshub/publish-gem-to-github@main | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actionshub/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
owner: ${{ secrets.OWNER }} | ||
|
||
- name: Build and publish to RubyGems | ||
uses: actionshub/publish-gem-to-rubygems@main | ||
if: ${{ steps.release.outputs.release_created }} | ||
uses: actionshub/[email protected] | ||
with: | ||
api_key: ${{ secrets.RUBYGEMS_API_KEY }} | ||
token: ${{ secrets.RUBYGEMS_API_KEY }} |
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,10 +1,3 @@ | ||
--- | ||
Layout/LineLength: | ||
Max: 100 | ||
|
||
Style/Documentation: | ||
Enabled: false | ||
|
||
require: | ||
- chefstyle | ||
|
||
|
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,16 +1,8 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["config:base", ":semanticCommits"], | ||
"packageRules": [ | ||
{ | ||
"groupName": "All Dependencies", | ||
"matchUpdateTypes": ["minor", "patch", "pin"], | ||
"automerge": true | ||
}, | ||
{ | ||
"groupName": "All dependencies (major)", | ||
"matchUpdateTypes": ["major"], | ||
"automerge": false | ||
} | ||
"extends": [ | ||
"config:recommended", | ||
":disableDependencyDashboard", | ||
"schedule:automergeEarlyMondays" | ||
] | ||
} |