3e054ea47d
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Failing after 44s
2024-11-11 22:04:36 +03:00
642d32128a
Update .github/workflows/pages-deploy.yml
2024-11-11 22:04:22 +03:00
e16fbdea5a
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Successful in 2m0s
2024-11-11 21:10:49 +03:00
eda0c75632
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Failing after 46s
2024-11-10 23:44:06 +03:00
d071e85a14
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Successful in 6s
2024-11-10 23:38:20 +03:00
0b5346c623
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Successful in 6s
2024-11-10 23:35:34 +03:00
Cotes Chung
d51345e297
ci: reduce unnecessary pr-filter runs ( #2033 )
...
- Checking the repository of the PR is more effective than checking the label to identify bot-initiated PRs
- This change also allows more flexible PR body definitions for developers with write access to the repository
2024-11-08 22:35:18 +08:00
Cotes Chung
2f844978aa
chore: change stale label to inactive
2024-11-08 22:15:31 +08:00
c357435a9e
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Failing after 32s
2024-10-30 01:56:49 +03:00
c0d583aa9e
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Failing after 0s
Build and Deploy / deploy (push) Has been skipped
2024-10-30 01:55:10 +03:00
effb91dff2
Update .github/workflows/pages-deploy.yml
Build and Deploy / build (push) Has been cancelled
Build and Deploy / deploy (push) Has been cancelled
2024-10-30 01:40:57 +03:00
Cotes Chung
4ef3cd8efc
ci: improve workflow triggers ( #2017 )
...
- Unchain commit-lint and CI
- Even if a commit does not meet the CI path filter, it still needs to lint the commit message.
- Unchain PR filter and CI
- The CI workflow needs to be triggered when the commits in a pull request are modified.
- Allow manual publishing
- Sometimes `semantic-release` will error out due to commit messages referencing discussions, but this does not affect the final RubyGems/GitHub Release. In such cases, manual triggering of the publish process is needed to complete the remaining publishing steps.
2024-10-29 22:56:32 +08:00
Cotes Chung
c7f967529c
ci: skip test for invalid PRs ( #2013 )
2024-10-26 16:58:07 +08:00
Cotes Chung
74ed06321c
ci: block invalid pull requests ( #2010 )
2024-10-25 19:48:11 +08:00
Cotes Chung
b641b36480
ci: set node version to LTS
...
There are some problems with the latest version.
See: https://github.com/cotes2020/jekyll-theme-chirpy/actions/runs/9977150040
2024-07-18 01:20:17 +08:00
Cotes Chung
1c5fa0880d
refactor: restore shell script extensions
...
Without an extension, the shell script configuration in `.gitattribute` will not work.
2024-06-01 04:15:09 +08:00
Cotes Chung
5cdde7dbc5
ci: enable ci/style-lint for the hotfix
branches
2024-05-17 20:11:08 +08:00
Cotes Chung
9630fd647f
ci(release): pass secrets to called workflow
2024-05-12 07:35:58 +08:00
Cotes Chung
f87fdd0ea0
build(deps): upgrade html-proofer
to v5.x
2024-05-11 14:08:39 +08:00
Cotes Chung
e09831ba3e
ci: specify the node version ( #1694 )
2024-04-21 01:17:35 +08:00
Cotes Chung
2cfa54847a
ci: drop Ruby 3.0 and introduce Ruby 3.3 ( #1691 )
...
See: https://www.ruby-lang.org/en/downloads/branches/
2024-04-21 00:22:01 +08:00
Cotes Chung
c85e9e2394
ci: avoid trigger redundant workflows ( #1682 )
...
CodeQL and Sytle Lint
2024-04-17 06:00:36 +08:00
Cotes Chung
bf16d6039a
ci(release): replace standard-version
with semantic-release
( #1666 )
...
[`standard-version`](https://github.com/conventional-changelog/standard-version/ ) has been deprecated since May 2022, so it is necessary to stop using it for this project.
[**`semantic-release`**](https://github.com/semantic-release/semantic-release ) is available as a more capable alternative to help automate the release process:
1. Updating Node/Gem version numbers
2. Generating changelogs
3. Automating GitHub Releases
4. Building Chirpy-gem and pushing it to RubyGems.org
5. Create commits and tags on the `production` branch
6. Merge the `production` branch into the `master` branch
> ⚠️ Note: Step _6_ may be canceled in CD environments due to merge conflicts, so we need to do this step manually in such cases.
Whenever a commit is pushed to the release branch (`production`), all of the above release processes will be triggered.
2024-04-14 05:15:27 +08:00
Cotes Chung
8c1be9f2f3
ci: fix checkout depth for commitlint
2024-04-14 05:06:06 +08:00
Cotes Chung
7808ee157c
chore: move starter workflow into subfolder
...
The `.hook` suffix does not make it easy to maintain code in the editor
2024-04-14 04:45:52 +08:00
Cotes Chung
7d48d32c7b
ci: avoid duplicate builds for PR commits
2024-04-14 04:20:53 +08:00
Aliberk Sandıkçı
4c9057717b
cancel CI/CD
2024-04-13 12:37:37 +03:00
Aliberk Sandıkçı
c1c46e6db9
chore: initialize the environment
2024-04-13 01:43:02 +03:00
Cotes Chung
3cc1510071
build(deps): update wagoid/commitlint-github-action
from 5 to 6
...
Bumps the gh-actions group with 1 update: [wagoid/commitlint-github-action](https://github.com/wagoid/commitlint-github-action ).
Updates `wagoid/commitlint-github-action` from 5 to 6
- [Changelog](https://github.com/wagoid/commitlint-github-action/blob/master/CHANGELOG.md )
- [Commits](https://github.com/wagoid/commitlint-github-action/compare/v5...v6 )
2024-04-03 05:12:44 +08:00
Josh Johanning
5de0153df4
build(ci): update actions versions ( #1554 )
2024-02-22 22:04:54 +08:00
Cotes Chung
79c65b3e44
build(security): correct scan path for CodeQL
2024-02-14 01:06:30 +08:00
Cotes Chung
1a01c35e52
chore: update stale-bot settings
2024-02-05 07:28:35 +08:00
Cotes Chung
c335bc6ce7
build(security): stop scheduled scanning
2024-02-03 18:53:35 +08:00
Cotes Chung
f3ea7e9887
build(security): improve paths filter for CodeQL
2024-02-01 01:07:46 +08:00
dependabot[bot]
5234511a2f
build(deps): bump the gh-actions group with 2 updates ( #1448 )
2024-01-01 19:52:24 +00:00
Cotes Chung
746a31e125
build(workflow): add more stale exemption labels ( #1435 )
...
New exemption labels:
- planning
- in progress
2023-12-31 16:10:25 +08:00
Cotes Chung
c45e031155
build(deps): specify the minor version number of ruby ( #1431 )
...
Resolves #1429
2023-12-27 23:56:39 +08:00
Cotes Chung
18808851a9
build(deps): upgrade rubygem-deps
...
Ruby 2.x has passed its end of life and is now unsupported.
2023-11-06 15:26:03 +08:00
dependabot[bot]
f6d96ab2b8
build(deps): upgrade actions/checkout
to v4 ( #1340 )
...
Bumps the gh-actions group with 1 update: [actions/setup-node](https://github.com/actions/setup-node ).
- [Release notes](https://github.com/actions/setup-node/releases )
- [Commits](https://github.com/actions/setup-node/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: actions/setup-node
dependency-type: direct:production
update-type: version-update:semver-major
dependency-group: gh-actions
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 03:43:40 +08:00
Cotes Chung
4237d078fa
build(release): improve version release strategy
2023-09-10 20:20:43 +08:00
Cotes Chung
ed9bda022d
build(starter): update the html-proofer options for v4
2023-09-09 21:05:39 +08:00
Cotes Chung
25a27056e0
build(deps): bump actions/checkout
from 3 to 4 ( #1216 )
2023-09-09 20:58:40 +08:00
Cotes Chung
7b43a83c40
refactor: move project files to docs
folder
2023-08-19 12:55:24 +08:00
Anan
e4e76f0a11
chore(deps): upgrade actions/deploy-pages
to version 2.x
( #1121 )
2023-07-02 20:25:53 +08:00
Cotes Chung
b0f4ae5eec
chore(gh-actions): fix stale bot exempt condition
2023-06-28 20:16:20 +08:00
Cotes Chung
fa3257873e
build: replace the stale app with gh-actions
...
The stale app is deprecated and no longer maintained
2023-06-08 00:46:37 +08:00
Cotes Chung
ea6268d7a5
chore(ci): upgrade commit-lint actions
2023-05-13 07:03:16 +08:00
Cotes Chung
3c7934abf0
style: improve code style of SCSS & YAML
2023-03-16 03:36:52 +08:00
Josh Johanning
474b4ba681
chore: update configure-pages action ( #931 )
2023-03-15 22:31:43 +08:00
Cotes Chung
60229ae334
chore(ci,tools): adapt to changes in JS builds
2023-03-15 21:51:37 +08:00
Cotes Chung
d0cf2a8dd5
chore(codeql): improve triggering conditions
2023-02-15 05:19:27 +08:00
Cotes Chung
a2d01365de
chore(github): simplify the creation steps of issue/pr
2023-02-12 06:57:26 +08:00
Cotes Chung
ecff5630a6
chore(security): scan for vulnerabilities
2023-02-12 06:57:26 +08:00
Cotes Chung
269506b647
chore(deps): liquid(v4.0.4) is compatible with ruby 3.2 ( #854 )
...
See: https://github.com/jekyll/jekyll/issues/9231
2023-01-18 23:13:06 +08:00
Cotes Chung
5a191e79af
chore: remove extension from tools
2022-12-28 01:10:27 +08:00
Cotes Chung
72700be7dd
chore(ci): fix workflow trigger conditions
2022-12-27 23:58:17 +08:00
Cotes Chung
09e4ad245b
chore(deps): update gem spec list
...
- Jekyll 4.3.0 introduced `webrick` for Ruby 3.x
- Jekyll's dependency `nokogiri` does not yet support Ruby 3.2. See: https://github.com/sparklemotion/nokogiri/issues/2740/
2022-12-27 21:47:09 +08:00
Cotes Chung
8e73a91d25
test(ci): drop some old ruby versions
2022-12-25 00:10:15 +08:00
Cotes Chung
8f2b42b1b3
test(ci): correct the patterns to match the SCSS files
2022-12-25 00:00:54 +08:00
Cotes Chung
5fc428353c
build(cd): migrate CD to GitHub
2022-12-05 00:51:38 +08:00
Cotes Chung
9de95bf089
build: reduce unnecessary builds
2022-12-05 00:41:13 +08:00
Cotes Chung
1c330f403c
chore(gh-actions): add style-lint on CI
2022-10-22 03:26:22 +08:00
Petr Ruzicka
d9d7848f03
style(linter): fix linter issues
2022-10-15 21:23:21 +08:00
Cotes Chung
8bcdd87891
chore(docs, cd): correct workflow name in tutorial
2022-09-25 01:58:54 +08:00
Galen Rice
43323abdfe
chore(ci, cd): build and deploy via _gh-actions_ directly
...
New actions available in GitHub allow for building and deploying the site
completely from the actions workflow with minimal code.
The deploy.sh script is no longer necessary with these changes.
2022-09-07 22:53:11 +08:00
Cotes Chung
f0a2e2f4e1
chore(gh-actions): resume the trigger branch
2022-03-12 22:29:15 +08:00
Cotes Chung
00ad357033
ci: update matrix environment
2022-03-04 23:58:13 +08:00
Cotes Chung
dd264e793c
ci(gh-actions): add commitlint
for PR
2022-03-01 23:26:07 +08:00
Cotes Chung
51688ccc9f
Correct the branches that triggers gh-action
2022-02-04 06:47:03 +08:00
Cotes Chung
b27258899b
Clear references to deleted folder docs
2022-02-04 06:23:09 +08:00
Cotes Chung
b460d03c3b
Merge the test tool into the deploy tool
2021-09-29 22:18:38 +08:00
Cotes Chung
20f2ff4b23
Update bot's reply message
2021-07-20 02:51:46 +08:00
Cotes Chung
899609a291
Switch to another issue bot
2021-07-20 02:26:03 +08:00
Cotes Chung
d5e08b05ab
Remove PR filter from workflow
...
GitHub does not allow to run workflows on PR from first-time contributors.
see: <https://docs.github.com/en/actions/managing-workflow-runs/approving-workflow-runs-from-public-forks >
2021-05-19 13:50:19 +08:00
Cotes Chung
4973a61e39
Update ruby setup actions ( fix #306 )
...
No longer tracking Gemfile.lock
2021-04-01 04:17:18 +08:00
Cotes Chung
6688e27787
Improve the pattern of issue bot
2021-03-04 21:52:19 +08:00
Cotes Chung
3400568b09
Change the bundle cache path on gh-actions
...
ubuntu-latest changed from 18.04 TLS to 20.04 LTS causes a file path change to the `ffi` gem, invalidating the gh-actions cache file, and causes the build to fail.
See: <https://github.com/ffi/ffi/issues/769 >
2021-03-04 15:02:06 +08:00
Cotes Chung
82b3d061af
Update the condition of issues intercept
2021-02-22 15:59:08 +08:00
Cotes Chung
da976ce088
Allow the PRs from dependabot
2021-01-17 22:23:34 +08:00
Henk van Achterberg
ca2194770c
Update pages-deploy.yml.hook ( #229 )
...
This change will make the baseurl configuration/testing work. Previous version failed. Posts should have /index.html as suffix in my experience.
2020-12-30 22:22:42 +08:00
Cotes Chung
813443b206
Improve GitHub stuff
...
- Add more events to the issue interceptor
- Reduce issue label
2020-12-28 02:33:06 +08:00
Cotes Chung
8d4c555638
Fix gh-actions cache not being hit issue ( #191 )
2020-12-07 00:10:15 +08:00
Cotes Chung
36c4f32b17
Fix yaml syntax of workflow
2020-12-02 18:40:06 +08:00
Cotes Chung
6a326dc8e0
Improve the interceptor action
...
Avoid secondary runs
2020-11-30 22:04:52 +08:00
Cotes Chung
f2efae8b01
Improve the issue/pr interceptor
2020-11-28 21:48:59 +08:00
Cotes Chung
b985965bc9
Fix bundle-install failed on gh-actions.
...
`--local` option of bundle-install:
if an appropriate platform-specific gem exists on rubygems.org it will not be found.
see: <https://bundler.io/v2.1/man/bundle-install.1.html >
2020-11-23 02:03:15 +08:00
Cotes Chung
08354cc4f5
Fix the test tool and CD hook
2020-11-20 15:59:35 +08:00
Cotes Chung
8fa1f3b497
Clean up the discarded shell scripts
2020-11-19 21:47:46 +08:00
Cotes Chung
aac29d43e5
Auto close the irregular issues
...
also fix the token key of issue-cleaner
2020-11-17 17:29:58 +08:00
Cotes Chung
d314c02a13
Drop the deprecating command set-env
in actions workflow.
...
replace with environment files
2020-10-08 02:42:57 +08:00
Cotes Chung
67d962d707
Fix the bundle cache path for CD hook.
2020-10-03 16:45:17 +08:00
Cotes Chung
2cf5a58adf
Install yq
by APT on ubuntu of gh-actions.
...
`brew intall` on Ubuntu is too slow (about 1 min)
2020-09-17 13:54:12 +08:00
Cotes Chung
d0d1e02763
Improve the CD workflow and enhance the related tools.
2020-09-17 01:28:44 +08:00
Honnix
643c8177be
Use yq to process YAML content ( #130 )
...
Use yq to process YAML content.
2020-09-17 01:20:04 +08:00
Cotes Chung
31ac709e04
Stop CI on branch 'production'.
2020-08-21 01:40:56 +08:00
Cotes Chung
628d4de095
Merge branch 'feature/build-by-gh-actions' into develop
2020-08-03 02:19:13 +08:00
Cotes Chung
48b3df2ea7
Added new tools and workflow.
2020-08-03 02:05:15 +08:00
Cotes Chung
6ef97f1fad
Fixed CI workflow.
2020-07-30 02:48:08 +08:00
Cotes Chung
32bd36f016
Updated the CI/CD scripts.
2020-07-25 23:08:37 +08:00
Cotes Chung
d1963af964
Update workflow.
2020-06-06 04:01:17 +08:00