.github/workflows/release.yml in itax_code-2.0.1 vs .github/workflows/release.yml in itax_code-2.0.2

- old
+ new

@@ -3,25 +3,47 @@ on: push: branches: - main -permissions: - contents: write - pull-requests: write - jobs: + lint: + uses: ./.github/workflows/lint.yml + test: + uses: ./.github/workflows/test.yml + secrets: + CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}} release-please: + needs: + - lint + - test + permissions: + contents: write + pull-requests: write runs-on: ubuntu-latest steps: - uses: google-github-actions/release-please-action@v3 id: release with: package-name: itax_code release-type: ruby token: ${{secrets.GITHUB_TOKEN}} version-file: "lib/itax_code/version.rb" - - uses: actions/checkout@v3 + changelog-types: > + [ + { "type": "build", "section": "Build System", "hidden": false }, + { "type": "ci", "section": "Continuous Integration", "hidden": false }, + { "type": "chore", "section": "Miscellaneous Chores", "hidden": false }, + { "type": "docs", "section": "Documentation", "hidden": false }, + { "type": "feat", "section": "Features", "hidden": false }, + { "type": "fix", "section": "Bug Fixes", "hidden": false }, + { "type": "perf", "section": "Performance Improvements", "hidden": false }, + { "type": "revert", "section": "Reverts", "hidden": false }, + { "type": "refactor", "section": "Code Refactoring", "hidden": false }, + { "type": "style", "section": "Styles", "hidden": false }, + { "type": "test", "section": "Tests", "hidden": false } + ] + - uses: actions/checkout@v4 if: ${{steps.release.outputs.release_created}} - uses: ruby/setup-ruby@v1 with: bundler-cache: true ruby-version: 2.7.0