From dba2aface37bf72dcf7657c3e16faed720c0f85b Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 15 Mar 2023 11:25:57 +0800 Subject: [PATCH 1/5] * Update workflow to generate & commit README.md if necessary --- .github/workflows/readme.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/readme.yaml b/.github/workflows/readme.yaml index 05ee48f..d07409a 100644 --- a/.github/workflows/readme.yaml +++ b/.github/workflows/readme.yaml @@ -13,6 +13,10 @@ jobs: name: Ensure readme.md is up to date if: "contains(github.event.commits[0].message, '[ci skip]') == false" runs-on: ubuntu-latest + permissions: + # Give the default GITHUB_TOKEN write permission to commit and push the + # added or changed files to the repository. + contents: write steps: - name: Checkout uses: actions/checkout@v3 @@ -23,6 +27,10 @@ jobs: bundler-cache: true - name: generate readme run: script/generate_readme + - name: Commit updated README.md + uses: stefanzweifel/git-auto-commit-action@v4 + with: + file_pattern: 'README.md' - name: check that new readme is identical to the old run: | if [ -z "$(git status --porcelain README.md)" ] From 0ff025f9777c4a6e8ad0b5d848f4831167a94284 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 15 Mar 2023 11:28:55 +0800 Subject: [PATCH 2/5] ~ Update README about an URL with http to be https --- README.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md.erb b/README.md.erb index 558bf71..836c6a5 100644 --- a/README.md.erb +++ b/README.md.erb @@ -8,7 +8,7 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th | ---------------------- | ------------ | | Gem name | gem-release | | License | [MIT](https://github.com/svenfuchs/gem-release/blob/master/LICENSE.md) | -| Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](http://badge.fury.io/rb/gem-release) | +| Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) | | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) | | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) | | Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) | From 126938958d44b88b498b30b68b996cc63294cd85 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 15 Mar 2023 03:30:15 +0000 Subject: [PATCH 3/5] Apply automatic changes --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index deb2f23..71734bd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th | ---------------------- | ------------ | | Gem name | gem-release | | License | [MIT](https://github.com/svenfuchs/gem-release/blob/master/LICENSE.md) | -| Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](http://badge.fury.io/rb/gem-release) | +| Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) | | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) | | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) | | Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) | From 450f4587bbaf6ca52338f77461142b86345b025a Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 15 Mar 2023 11:33:05 +0800 Subject: [PATCH 4/5] ~ Update outdated README --- README.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md.erb b/README.md.erb index 836c6a5..4443630 100644 --- a/README.md.erb +++ b/README.md.erb @@ -1,4 +1,4 @@ -# gem release [![Build Status](https://secure.travis-ci.org/svenfuchs/gem-release.svg)](http://travis-ci.org/svenfuchs/gem-release) +# gem release This gem plugin aims at making gem development easier by automating repetitive work based on conventions, configuration, and templates. @@ -11,7 +11,7 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th | Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) | | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) | | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) | -| Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) | +| Documentation | [Documentation](https://www.rubydoc.info/gems/gem-release) | | Credits | [Contributors](https://github.com/svenfuchs/gem-release/graphs/contributors) | # Table of contents From 4189fe877bbe7ea722cef48000d600f93af96899 Mon Sep 17 00:00:00 2001 From: PikachuEXE Date: Wed, 15 Mar 2023 03:33:51 +0000 Subject: [PATCH 5/5] Apply automatic changes --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 71734bd..6cee3ae 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# gem release [![Build Status](https://secure.travis-ci.org/svenfuchs/gem-release.svg)](http://travis-ci.org/svenfuchs/gem-release) +# gem release This gem plugin aims at making gem development easier by automating repetitive work based on conventions, configuration, and templates. @@ -11,7 +11,7 @@ It adds the commands `bootstrap`, `gemspec`, `bump`, `tag` and a `release` to th | Version | [![Gem Version](https://img.shields.io/gem/v/gem-release.svg?style=flat-square)](https://badge.fury.io/rb/gem-release) | | Continuous integration | [![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/svenfuchs/gem-release/tests.yaml?branch=master&style=flat-square)](https://github.com/svenfuchs/gem-release/actions/workflows/tests.yaml) | | Test coverage | [![Coverage Status](https://img.shields.io/coveralls/svenfuchs/gem-release.svg?style=flat-square)](https://coveralls.io/r/svenfuchs/gem-release) | -| Documentation | [Documentation](http://rdoc.info/github/svenfuchs/gem-release/frames) | +| Documentation | [Documentation](https://www.rubydoc.info/gems/gem-release) | | Credits | [Contributors](https://github.com/svenfuchs/gem-release/graphs/contributors) | # Table of contents