diff --git a/.github/workflows/auto-merge.yml b/.github/workflows/auto-merge.yml index 43086ff..ef182c5 100644 --- a/.github/workflows/auto-merge.yml +++ b/.github/workflows/auto-merge.yml @@ -16,7 +16,7 @@ jobs: github.actor == 'renovate' steps: - name: automerge - uses: pascalgn/automerge-action@v0.15.5 + uses: pascalgn/automerge-action@v0.15.6 env: GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }} MERGE_METHOD: "rebase" diff --git a/.github/workflows/codacy-analysis.yml b/.github/workflows/codacy-analysis.yml index e315344..03880e7 100644 --- a/.github/workflows/codacy-analysis.yml +++ b/.github/workflows/codacy-analysis.yml @@ -34,7 +34,7 @@ jobs: # Execute Codacy Analysis CLI and generate a SARIF output with the security issues identified during the analysis - name: Run Codacy Analysis CLI continue-on-error: true - uses: codacy/codacy-analysis-cli-action@v4.2.0 + uses: codacy/codacy-analysis-cli-action@v4.3.0 with: # Check https://github.com/codacy/codacy-analysis-cli#project-token to get your project token from your Codacy repository # You can also omit the token and run the tools that support default configurations diff --git a/.github/workflows/ghcr.yml b/.github/workflows/ghcr.yml index cea65d5..5a68f14 100644 --- a/.github/workflows/ghcr.yml +++ b/.github/workflows/ghcr.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3.2.0 + uses: actions/checkout@v3.3.0 - name: Get branch names id: branch-name @@ -22,7 +22,7 @@ jobs: uses: docker/setup-qemu-action@v2.1.0 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2.2.1 + uses: docker/setup-buildx-action@v2.4.1 - name: Login to GitHub Container Registry uses: docker/login-action@v2.1.0 @@ -32,7 +32,7 @@ jobs: password: ${{ secrets.GITHUB_TOKEN }} - name: Build and push - uses: docker/build-push-action@v3.2.0 + uses: docker/build-push-action@v4.0.0 with: context: . push: true diff --git a/.github/workflows/rebase.yml b/.github/workflows/rebase.yml index 68dcf57..22d1357 100644 --- a/.github/workflows/rebase.yml +++ b/.github/workflows/rebase.yml @@ -8,7 +8,7 @@ jobs: if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v3.3.0 with: token: ${{ secrets.PAT_TOKEN }} fetch-depth: 0 # otherwise, you will failed to push refs to dest repo diff --git a/.github/workflows/sync-release-version.yml b/.github/workflows/sync-release-version.yml index dbba515..187336f 100644 --- a/.github/workflows/sync-release-version.yml +++ b/.github/workflows/sync-release-version.yml @@ -22,7 +22,7 @@ jobs: paths: | README.md - name: Generate CHANGELOG - uses: tj-actions/github-changelog-generator@v1.16 + uses: tj-actions/github-changelog-generator@v1.17 with: output: 'HISTORY.md' - name: Create Pull Request diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 799c700..8084a3b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,7 @@ on: push: branches: - main - pull_request: + pull_request_target: branches: - main @@ -14,9 +14,9 @@ jobs: name: Test github-changelog-generator steps: - name: Checkout - uses: actions/checkout@v3.2.0 + uses: actions/checkout@v3.3.0 - name: shellcheck - uses: reviewdog/action-shellcheck@v1.16 + uses: reviewdog/action-shellcheck@v1.17 - name: Run github-changelog-generator uses: ./ with: diff --git a/.github/workflows/update-readme.yml b/.github/workflows/update-readme.yml index 335f4a3..15e21e0 100644 --- a/.github/workflows/update-readme.yml +++ b/.github/workflows/update-readme.yml @@ -9,14 +9,14 @@ jobs: sync-assets: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3.2.0 + - uses: actions/checkout@v3 with: fetch-depth: 0 - + - name: Run auto-doc - uses: tj-actions/auto-doc@v1.6.0 + uses: tj-actions/auto-doc@v2 - - name: Run test + - name: Run remark uses: tj-actions/remark@v3 - name: Verify Changed files @@ -25,16 +25,19 @@ jobs: with: files: | README.md + - name: README.md changed if: steps.verify_changed_files.outputs.files_changed == 'true' run: | - echo "README.md has uncommited changes" + echo "README.md has uncommitted changes" exit 1 + - name: Create Pull Request if: failure() uses: peter-evans/create-pull-request@v4 with: base: "main" + labels: "merge when passing" title: "Updated README.md" branch: "chore/update-readme" commit-message: "Updated README.md" diff --git a/Dockerfile b/Dockerfile index 09316f3..f41e0c1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ruby:3.2.0-alpine3.17 +FROM ruby:3.2.1-alpine3.17 LABEL maintainer="Tonye Jack " diff --git a/Gemfile.lock b/Gemfile.lock index 33d8d55..c12296e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,36 +1,36 @@ GEM remote: https://rubygems.org/ specs: - activesupport (7.0.4) + activesupport (7.0.4.2) concurrent-ruby (~> 1.0, >= 1.0.2) i18n (>= 1.6, < 2) minitest (>= 5.1) tzinfo (~> 2.0) addressable (2.8.1) public_suffix (>= 2.0.2, < 6.0) - async (2.3.1) + async (2.4.0) console (~> 1.10) io-event (~> 1.1) timers (~> 4.1) - async-http (0.59.4) + async-http (0.60.1) async (>= 1.25) async-io (>= 1.28) async-pool (>= 0.2) - protocol-http (~> 0.23.1) - protocol-http1 (~> 0.14.0) - protocol-http2 (~> 0.14.0) + protocol-http (~> 0.24.0) + protocol-http1 (~> 0.15.0) + protocol-http2 (~> 0.15.0) traces (>= 0.8.0) async-http-faraday (0.11.0) async-http (~> 0.42) faraday - async-io (1.34.1) + async-io (1.34.3) async async-pool (0.3.12) async (>= 1.25) - concurrent-ruby (1.1.10) + concurrent-ruby (1.2.2) console (1.16.2) fiber-local - faraday (2.7.2) + faraday (2.7.4) faraday-net_http (>= 2.0, < 3.1) ruby2_keywords (>= 0.0.4) faraday-http-cache (2.4.1) @@ -48,17 +48,17 @@ GEM rake (>= 10.0) i18n (1.12.0) concurrent-ruby (~> 1.0) - io-event (1.1.4) - minitest (5.16.3) + io-event (1.1.6) + minitest (5.18.0) multi_json (1.15.0) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) protocol-hpack (1.4.2) - protocol-http (0.23.12) - protocol-http1 (0.14.6) + protocol-http (0.24.1) + protocol-http1 (0.15.0) protocol-http (~> 0.22) - protocol-http2 (0.14.2) + protocol-http2 (0.15.1) protocol-hpack (~> 1.4) protocol-http (~> 0.18) public_suffix (5.0.1) @@ -69,12 +69,13 @@ GEM addressable (>= 2.3.5) faraday (>= 0.17.3, < 3) timers (4.3.5) - traces (0.8.0) - tzinfo (2.0.5) + traces (0.9.1) + tzinfo (2.0.6) concurrent-ruby (~> 1.0) PLATFORMS arm64-darwin-21 + x86_64-linux DEPENDENCIES github_changelog_generator (= 1.16.4)! diff --git a/HISTORY.md b/HISTORY.md index 6f91068..6920f05 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -2,7 +2,19 @@ ## [v1](https://github.com/tj-actions/github-changelog-generator/tree/v1) (2022-12-28) -[Full Changelog](https://github.com/tj-actions/github-changelog-generator/compare/v1.16...v1) +[Full Changelog](https://github.com/tj-actions/github-changelog-generator/compare/v1.17...v1) + +## [v1.17](https://github.com/tj-actions/github-changelog-generator/tree/v1.17) (2022-12-28) + +[Full Changelog](https://github.com/tj-actions/github-changelog-generator/compare/v1.16...v1.17) + +**Merged pull requests:** + +- Updated README.md [\#209](https://github.com/tj-actions/github-changelog-generator/pull/209) ([jackton1](https://github.com/jackton1)) +- Updated README.md [\#208](https://github.com/tj-actions/github-changelog-generator/pull/208) ([jackton1](https://github.com/jackton1)) +- chore\(deps\): update tj-actions/github-changelog-generator action to v1.16 [\#207](https://github.com/tj-actions/github-changelog-generator/pull/207) ([renovate[bot]](https://github.com/apps/renovate)) +- Upgraded to v1.16 [\#206](https://github.com/tj-actions/github-changelog-generator/pull/206) ([jackton1](https://github.com/jackton1)) +- chore: update to use ghcr [\#205](https://github.com/tj-actions/github-changelog-generator/pull/205) ([jackton1](https://github.com/jackton1)) ## [v1.16](https://github.com/tj-actions/github-changelog-generator/tree/v1.16) (2022-12-28) diff --git a/README.md b/README.md index 04c80da..16201d2 100644 --- a/README.md +++ b/README.md @@ -21,10 +21,10 @@ Generate CHANGELOG/HISTORY markdown files for your project -| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | -|--------|--------|----------|-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| output | string | false | `"CHANGELOG.md"` | The changelog output file | -| token | string | true | `"${{ github.token }}"` | The default [GITHUB\_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) or a repo scoped
[Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) | +| INPUT | TYPE | REQUIRED | DEFAULT | DESCRIPTION | +|--------|--------|----------|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| output | string | false | `"CHANGELOG.md"` | The changelog output file | +| token | string | true | `"${{ github.token }}"` | [GITHUB\_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) or a repo scoped [PersonalAccess Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token) | diff --git a/action.yml b/action.yml index 8d3765a..26cb87b 100644 --- a/action.yml +++ b/action.yml @@ -3,7 +3,7 @@ description: Github Changelog/History Generator author: tj-actions inputs: token: - description: 'The default [GITHUB_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) or a repo scoped [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)' + description: '[GITHUB_TOKEN](https://docs.github.com/en/free-pro-team@latest/actions/reference/authentication-in-a-workflow#using-the-github_token-in-a-workflow) or a repo scoped [Personal Access Token](https://docs.github.com/en/free-pro-team@latest/github/authenticating-to-github/creating-a-personal-access-token)' required: true default: ${{ github.token }} output: