From f2273a61640812de94af7e3e4946f827f3684dba Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 31 Aug 2023 09:45:57 +0330 Subject: [PATCH 1/8] ci(deps): bump actions/checkout from 3.5.3 to 3.6.0 (#4) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.3 to 3.6.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.5.3...v3.6.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 2f590b9..ee90a00 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -26,7 +26,7 @@ jobs: steps: # Checks-out the repository - name: Checkout code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v3.6.0 # Runs ShellCheck on all shell scripts in your repository - name: Run ShellCheck @@ -41,7 +41,7 @@ jobs: steps: # Checkout the repository code - name: Checkout code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v3.6.0 with: fetch-depth: 0 # Fetches all history for all branches and tags diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c922c50..b1f16f0 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: # First, we check out the repository code - name: Checkout code - uses: actions/checkout@v3.5.3 + uses: actions/checkout@v3.6.0 # In the next step, we configure the git user to allow pushing to the repository - name: Configure Git From 1791ee73a64ebacf09f3de5038d59e0994be761b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 3 Sep 2023 21:18:35 +0330 Subject: [PATCH 2/8] ci(deps): bump orhun/git-cliff-action from 2.0.6 to 2.1.0 (#5) Bumps [orhun/git-cliff-action](https://github.com/orhun/git-cliff-action) from 2.0.6 to 2.1.0. - [Release notes](https://github.com/orhun/git-cliff-action/releases) - [Commits](https://github.com/orhun/git-cliff-action/compare/v2.0.6...v2.1.0) --- updated-dependencies: - dependency-name: orhun/git-cliff-action dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index ee90a00..373780e 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -47,7 +47,7 @@ jobs: # Generate a changelog for the new release using Git - name: Generate a changelog - uses: orhun/git-cliff-action@v2.0.6 + uses: orhun/git-cliff-action@v2.1.0 id: git-cliff with: config: cliff.toml # The configuration file for git-cliff From 2beb437992c37dce4da47feb9256c771fc66a6f5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Sep 2023 14:00:48 +0330 Subject: [PATCH 3/8] ci(deps): bump actions/checkout from 3.6.0 to 4.0.0 (#6) Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.0.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3.6.0...v4.0.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 373780e..615ac2a 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -26,7 +26,7 @@ jobs: steps: # Checks-out the repository - name: Checkout code - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 # Runs ShellCheck on all shell scripts in your repository - name: Run ShellCheck @@ -41,7 +41,7 @@ jobs: steps: # Checkout the repository code - name: Checkout code - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 with: fetch-depth: 0 # Fetches all history for all branches and tags diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b1f16f0..2b8a5aa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: # First, we check out the repository code - name: Checkout code - uses: actions/checkout@v3.6.0 + uses: actions/checkout@v4.0.0 # In the next step, we configure the git user to allow pushing to the repository - name: Configure Git From 7d420d8720e292bca62ce10cda04b1ae8639f73d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:58:04 +0330 Subject: [PATCH 4/8] ci(deps): bump actions/checkout from 4.0.0 to 4.1.0 (#7) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.0.0 to 4.1.0. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.0.0...v4.1.0) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 615ac2a..113c492 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -26,7 +26,7 @@ jobs: steps: # Checks-out the repository - name: Checkout code - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 # Runs ShellCheck on all shell scripts in your repository - name: Run ShellCheck @@ -41,7 +41,7 @@ jobs: steps: # Checkout the repository code - name: Checkout code - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 with: fetch-depth: 0 # Fetches all history for all branches and tags diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2b8a5aa..168293c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: # First, we check out the repository code - name: Checkout code - uses: actions/checkout@v4.0.0 + uses: actions/checkout@v4.1.0 # In the next step, we configure the git user to allow pushing to the repository - name: Configure Git From 211745bea570813235a1494f5425bac038a44c70 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Oct 2023 08:58:17 +0330 Subject: [PATCH 5/8] ci(deps): bump orhun/git-cliff-action from 2.1.0 to 2.1.1 (#8) Bumps [orhun/git-cliff-action](https://github.com/orhun/git-cliff-action) from 2.1.0 to 2.1.1. - [Release notes](https://github.com/orhun/git-cliff-action/releases) - [Commits](https://github.com/orhun/git-cliff-action/compare/v2.1.0...v2.1.1) --- updated-dependencies: - dependency-name: orhun/git-cliff-action dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 113c492..4fd81ed 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -47,7 +47,7 @@ jobs: # Generate a changelog for the new release using Git - name: Generate a changelog - uses: orhun/git-cliff-action@v2.1.0 + uses: orhun/git-cliff-action@v2.1.1 id: git-cliff with: config: cliff.toml # The configuration file for git-cliff From 3b1887e36023dee2305dfba159597e376aa98d1f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 Oct 2023 21:11:52 +0330 Subject: [PATCH 6/8] ci(deps): bump actions/checkout from 4.1.0 to 4.1.1 (#9) Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Milad Nekofar --- .github/workflows/prepare.yml | 4 ++-- .github/workflows/release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/prepare.yml b/.github/workflows/prepare.yml index 4fd81ed..69d7d73 100644 --- a/.github/workflows/prepare.yml +++ b/.github/workflows/prepare.yml @@ -26,7 +26,7 @@ jobs: steps: # Checks-out the repository - name: Checkout code - uses: actions/checkout@v4.1.0 + uses: actions/checkout@v4.1.1 # Runs ShellCheck on all shell scripts in your repository - name: Run ShellCheck @@ -41,7 +41,7 @@ jobs: steps: # Checkout the repository code - name: Checkout code - uses: actions/checkout@v4.1.0 + uses: actions/checkout@v4.1.1 with: fetch-depth: 0 # Fetches all history for all branches and tags diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 168293c..2948a6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,7 +18,7 @@ jobs: # First, we check out the repository code - name: Checkout code - uses: actions/checkout@v4.1.0 + uses: actions/checkout@v4.1.1 # In the next step, we configure the git user to allow pushing to the repository - name: Configure Git From 2b17c68e170462d9bf455f0cf8d1bfb86e74e56e Mon Sep 17 00:00:00 2001 From: Milad Nekofar Date: Thu, 2 Nov 2023 21:27:46 +0330 Subject: [PATCH 7/8] fix: solve some minor issues and update dependencies Signed-off-by: Milad Nekofar From a77ef3bd4abdcd03467edd38046b0ad955feb035 Mon Sep 17 00:00:00 2001 From: Milad Nekofar Date: Thu, 2 Nov 2023 21:28:01 +0330 Subject: [PATCH 8/8] chore(release): prepare for version 1.0.1 --- CHANGELOG.md | 87 +++++++++++++++++++++++----------------------------- cliff.toml | 39 ++++++++++++++--------- 2 files changed, 63 insertions(+), 63 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5ba455e..d7099f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,141 +2,135 @@ All notable changes to this project will be documented in this file. -## [1.0.0-beta.12] - 2023-08-21 +## [1.0.1] - 2023-11-02 -### Bug Fixes +### Bug Fixes -- Adjust condition check in `entrypoint.sh` to handle float +- Solve some minor issues and update dependencies -### Continuous Integrations +## [1.0.0-beta.12] - 2023-08-21 -- Bump nekofar/create-github-release from 1.0.11 to 1.0.12 +### Bug Fixes + +- Adjust condition check in `entrypoint.sh` to handle float ## [1.0.0-beta.11] - 2023-07-31 -### Refactor +### Refactor - Replace expr with awk in `entrypoint.sh` for calculations ## [1.0.0-beta.10] - 2023-07-28 -### Documentation +### Documentation - Rework job order and dependencies in GitHub workflow ## [1.0.0-beta.9] - 2023-07-28 -### Refactor +### Refactor - Update GitHub token authentication process in `entrypoint.sh` ## [1.0.0-beta.8] - 2023-07-28 -### Bug Fixes +### Bug Fixes - Trim whitespaces from input token in `entrypoint.sh` ## [1.0.0-beta.7] - 2023-07-27 -### Documentation +### Documentation - Add Personal Access Token information to README.md ## [1.0.0-beta.6] - 2023-07-27 -### Refactor +### Refactor - Adjust indentation level in `action.yml` - Optimize public repo message in `entrypoint.sh` -### Continuous Integrations - -- Bump nekofar/create-github-release from 1.0.8 to 1.0.11 - ## [1.0.0-beta.5] - 2023-07-27 -### Refactor +### Refactor - Optimize if conditions of usage calculation in `entrypoint.sh` ## [1.0.0-beta.4] - 2023-07-27 -### Refactor +### Refactor - Add option to activate debug mode in `entrypoint.sh` -### Continuous Integrations - -- Bump nekofar/create-github-release from 1.0.6 to 1.0.8 - ## [1.0.0-beta.3] - 2023-07-26 -### Bug Fixes +### Bug Fixes - Change default value of `GITHUB_TOKEN` in `entrypoint.sh` -### Refactor +### Refactor - Optimize whitespace usage in `action.yml` ## [1.0.0-beta.2] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Update icon and color in `action.yml` ## [1.0.0-beta.1] - 2023-07-25 -### Refactor +### Refactor - Add comments and increase readability in monitor script ## [1.0.0-alpha.9] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Correct notification message formatting in `entrypoint.sh` -### Continuous Integrations +### Miscellaneous Tasks - Add dependency to the `lint` job in `prepare.yml` - Increase usage guard threshold in GitHub workflow ## [1.0.0-alpha.8] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Remove unnecessary newline in echo statements in `entrypoint.sh` -### Refactor +### Refactor -- Remove 'x' option from bash shell settings in entry script +- Remove `x` option from bash shell settings in entry script ## [1.0.0-alpha.7] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Specify repository in GitHub run cancellation command ## [1.0.0-alpha.6] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Add repository argument to gh repo view in `entrypoint.sh` ## [1.0.0-alpha.5] - 2023-07-25 -### Refactor +### Refactor - Add verbosity to error handling in `entrypoint.sh` -### Continuous Integrations +### Miscellaneous Tasks - Remove checkout step from `prepare.yml` ## [1.0.0-alpha.4] - 2023-07-25 -### Continuous Integrations +### Miscellaneous Tasks - Refactor tag version in `prepare.yml` - Update job name from `lint` to `guard` in `prepare.yml` @@ -144,42 +138,42 @@ All notable changes to this project will be documented in this file. ## [1.0.0-alpha.3] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Remove redundant echo of Github token in `entrypoint.sh` -### Refactor +### Refactor - Update usage messages in `entrypoint.sh` - Update shell script for improved readability and user-friendliness ## [1.0.0-alpha.2] - 2023-07-25 -### Refactor +### Refactor - Add verbosity to entrypoint.sh script execution ## [1.0.0-alpha.1] - 2023-07-25 -### Bug Fixes +### Bug Fixes - Update description and requirement status of GitHub token in `action.yml` -### Documentation +### Documentation - Update GitHub token in Action config for better access control -### Continuous Integrations +### Miscellaneous Tasks - Update GitHub token in Action Usage Guard ## [1.0.0-alpha.0] - 2023-07-25 -### Features +### Features - Create usage guard action and token authentication utility -### Documentation +### Documentation - Add Apache License 2.0 to the project - Add issue templates for bug reports and feature requests @@ -187,15 +181,12 @@ All notable changes to this project will be documented in this file. - Add `CONTRIBUTING.md` for project contributions guidance - Add `README` for Action Usage Guard -### Continuous Integrations +### Miscellaneous Tasks - Add GitHub actions for release preparation and publishing - Add dependabot configuration for GitHub Actions - Add `stalebot` configuration file -- Add Action Usage Guard to workflow and update checkout version - -### Miscellaneous Tasks - - Add `git-cliff` configuration file +- Add Action Usage Guard to workflow and update checkout version diff --git a/cliff.toml b/cliff.toml index 282f7f9..f0798cc 100644 --- a/cliff.toml +++ b/cliff.toml @@ -32,7 +32,13 @@ trim = true footer = """ """ - +# postprocessors +postprocessors = [ + # { pattern = '', replace = "https://github.com/orhun/git-cliff" }, # replace repository URL + { pattern = '', replace = '' }, + { pattern = "'", replace = '`' }, + { pattern = '"', replace = '`' }, +] [git] # parse the commits based on https://www.conventionalcommits.org conventional_commits = true @@ -42,23 +48,26 @@ filter_unconventional = true split_commits = false # regex for preprocessing the commit messages commit_preprocessors = [ - { pattern = '\((\w+\s)?#([0-9]+)\)', replace = ""}, + # { pattern = '\((\w+\s)?#([0-9]+)\)', replace = "([#${2}](/issues/${2}))"}, # replace issue numbers ] # regex for parsing and grouping commits commit_parsers = [ - { message = "^feat", group = "Features"}, - { message = "^fix", group = "Bug Fixes"}, - { message = "^docs\\(changelog\\)", skip = true}, - { message = "^doc", group = "Documentation"}, - { message = "^perf", group = "Performance", skip = true}, - { message = "^refactor", group = "Refactor"}, - { message = "^style", group = "Styling", skip = true}, - { message = "^test", group = "Testing"}, + { message = "^feat", group = "Features" }, + { message = "^fix", group = "Bug Fixes" }, + { message = "^docs\\(changelog\\)", skip = true }, + { message = "^doc", group = "Documentation" }, + { message = "^perf", group = "Performance" }, + { message = "^refactor", group = "Refactor" }, + { message = "^style", group = "Styling" }, + { message = "^test", group = "Testing" }, { message = "^chore\\(release\\): prepare for", skip = true }, - { message = "^chore", group = "Miscellaneous Tasks"}, - { message = "^build", group = "Build Environment"}, - { message = "^ci", group = "Continuous Integrations"}, - { body = ".*security", group = "Security"}, + { message = "^chore\\(deps(?:-dev)?\\)", skip = true }, + { message = "^chore\\(pr\\)", skip = true }, + { message = "^chore\\(pull\\)", skip = true }, + { message = "^ci\\(deps\\)", skip = true }, + { message = "^build|chore|ci", group = "Miscellaneous Tasks" }, + { body = ".*security", group = "Security" }, + { message = "^revert", group = "Revert" }, ] # protect breaking changes from being skipped due to matching a skipping commit_parser protect_breaking_commits = false @@ -69,7 +78,7 @@ tag_pattern = "v[0-9]*" # regex for skipping tags skip_tags = "v0.1.0-beta.1" # regex for ignoring tags -ignore_tags = "^v[0-9]$" +ignore_tags = "" # sort the tags topologically topo_order = false # sort the commits inside sections by oldest/newest order