File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ coverage:
22 status :
33 project :
44 default :
5- target : 80 %
5+ target : 75 %
66 patch :
77 default :
88 target : 70%
@@ -11,3 +11,5 @@ ignore:
1111 - " cmd/github-ci"
1212 - " internal/cmd"
1313 - " internal/testutil"
14+ - " internal/actions"
15+ - " internal/upgrader"
Original file line number Diff line number Diff line change 88 - ' docs/**'
99 - ' .github/workflows/docs.yml'
1010 workflow_dispatch :
11+ inputs :
12+ branch :
13+ description : ' Branch to deploy from'
14+ required : false
15+ default : ' main'
1116
1217permissions :
1318 contents : read
@@ -24,15 +29,22 @@ jobs:
2429 steps :
2530 - name : Checkout
2631 uses : actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
32+ with :
33+ ref : ${{ inputs.branch || github.ref }}
34+
35+ - name : Setup Ruby
36+ uses : ruby/setup-ruby@a6e6f86333f0a2523ece813039b8b4be04560854 # v1.190.0
37+ with :
38+ ruby-version : ' 3.3'
39+ bundler-cache : true
40+ working-directory : docs
2741
2842 - name : Setup Pages
2943 uses : actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0
3044
3145 - name : Build with Jekyll
32- uses : actions/jekyll-build-pages@44a6e6beabd48582f863aeeb6cb2151cc1716697 # v1.0.13
33- with :
34- source : ./docs
35- destination : ./_site
46+ working-directory : docs
47+ run : bundle exec jekyll build --destination ../_site
3648
3749 - name : Upload artifact
3850 uses : actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b # v4.0.0
Original file line number Diff line number Diff line change 22
33[ ![ Build] ( https://github.com/reugn/github-ci/actions/workflows/build.yml/badge.svg )] ( https://github.com/reugn/github-ci/actions/workflows/build.yml )
44[ ![ PkgGoDev] ( https://pkg.go.dev/badge/github.com/reugn/github-ci )] ( https://pkg.go.dev/github.com/reugn/github-ci )
5+ [ ![ codecov] ( https://codecov.io/gh/reugn/github-ci/graph/badge.svg?token=CTG5JY369G )] ( https://codecov.io/gh/reugn/github-ci )
56
67A CLI tool for managing GitHub Actions workflows. It helps lint workflows for best practices and automatically upgrade actions to their latest versions.
78
You can’t perform that action at this time.
0 commit comments