File tree Expand file tree Collapse file tree 9 files changed +64
-17
lines changed Expand file tree Collapse file tree 9 files changed +64
-17
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ # https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
3+
14changelog :
5+ exclude :
6+ labels :
7+ - duplicate
8+ - invalid
9+ - modulesync
10+ - question
11+ - skip-changelog
12+ - wont-fix
13+ - wontfix
14+ - github_actions
15+
216 categories :
3- - title : Features & Enhancements
17+ - title : Breaking Changes 🛠
18+ labels :
19+ - backwards-incompatible
20+
21+ - title : New Features 🎉
422 labels :
523 - enhancement
6- - title : Bug Fixes
24+
25+ - title : Bug Fixes 🐛
726 labels :
827 - bug
28+
29+ - title : Documentation Updates 📚
30+ labels :
31+ - documentation
32+ - docs
33+
34+ - title : Dependency Updates ⬆️
35+ labels :
36+ - dependencies
37+
38+ - title : Other Changes
39+ labels :
40+ - " *"
Original file line number Diff line number Diff line change 1+ ---
12name : Beaker Acceptance Tests
23run-name : |-
34 Beaker acceptance tests for ${{ inputs.pre-release-build && 'pre-release' || 'release' }} package
4748jobs :
4849 acceptance :
4950 name : Acceptance Tests
50- runs-on : ubuntu-latest
51+ runs-on : ubuntu-24.04
5152 strategy :
5253 matrix :
5354 os :
Original file line number Diff line number Diff line change 1+ ---
12name : Backport merged pull request
23on :
34 pull_request_target :
@@ -8,7 +9,7 @@ permissions:
89jobs :
910 backport :
1011 name : Backport merged pull request
11- runs-on : ubuntu-latest
12+ runs-on : ubuntu-24.04
1213 # For security reasons, we don't want to checkout and run arbitrary code when
1314 # using the pull_request_target trigger. So restrict this to cases where the
1415 # backport label is applied to an already merged PR.
Original file line number Diff line number Diff line change 1+ ---
12name : Build openvox-agent
23
34permissions :
2526 ref : ${{ inputs.ref }}
2627 project_name : ${{ inputs.project_name }}
2728 platform_list : ${{ inputs.platform_list }}
28- secrets : inherit
29+ secrets : inherit
Original file line number Diff line number Diff line change 1+ ---
12name : Checks
23
34on :
@@ -12,8 +13,9 @@ permissions:
1213jobs :
1314 rake_checks :
1415 name : Rake Checks
15- runs-on : ubuntu-latest
16+ runs-on : ubuntu-24.04
1617 steps :
18+ # needs fetch-depth because the packaging dem reads old git tags
1719 - name : Checkout current PR
1820 uses : actions/checkout@v4
1921 with :
2224 uses : ruby/setup-ruby@v1
2325 with :
2426 ruby-version : 3.3
25- - name : Update rubygems and install gems
27+ bundler-cache : true
28+ - name : Validate code
2629 run : |
27- gem update --system --silent --no-document
28- bundle install --jobs 4 --retry 3
29- - run : bundle exec rake rubocop --trace
30+ bundle exec rake rubocop
31+ bundle exec rake -T | grep vox:build
32+ bundle exec rake -T | grep vox:promote
33+ bundle exec rake -T | grep vox:tag
34+ bundle exec rake -T | grep vox:upload
35+ bundle exec rake config:print
Original file line number Diff line number Diff line change 1- vendor /*
1+ /vendor /*
2+ /.vendor /*
23output /*
34.bundle
45Gemfile.lock
Original file line number Diff line number Diff line change @@ -8,8 +8,12 @@ AllCops:
88 - ' resources/**/*.rb'
99 - ' ext/**/*'
1010 - ' vendor/**/*'
11+ - ' .vendor/**/*'
1112 - ' bundle/**/*'
1213
14+ plugins :
15+ - rubocop-rake
16+
1317Layout/ArgumentAlignment :
1418 Enabled : false
1519
Original file line number Diff line number Diff line change @@ -17,5 +17,6 @@ gem 'rake'
1717gem 'json'
1818gem 'octokit'
1919gem 'rubocop' , "~> 1.22"
20+ gem 'rubocop-rake'
2021
2122eval_gemfile ( "#{ __FILE__ } .local" ) if File . exist? ( "#{ __FILE__ } .local" )
Original file line number Diff line number Diff line change @@ -39,12 +39,12 @@ load './ext/release-lead.rake'
3939
4040Pkg ::Util ::RakeUtils . load_packaging_tasks
4141
42- desc 'run static analysis with rubocop'
43- task ( :rubocop ) do
44- require ' rubocop'
45- cli = RuboCop :: CLI . new
46- exit_code = cli . run ( %w( --display-cop-names --format simple ) )
47- raise "RuboCop detected offenses" if exit_code != 0
42+ require ' rubocop/rake_task '
43+ RuboCop :: RakeTask . new ( :rubocop ) do | task |
44+ # These make the rubocop experience maybe slightly less terrible
45+ task . options = [ '--display-cop-names' , '--display-style-guide' , '--extra-details' ]
46+ # Use Rubocop's Github Actions formatter if possible
47+ task . formatters << 'github' if ENV [ 'GITHUB_ACTIONS' ] == 'true'
4848end
4949
5050desc "verify that commit messages match CONTRIBUTING.md requirements"
You can’t perform that action at this time.
0 commit comments