Add ruby_rubocop_chromebrew to buildessential — buildessential (#12862)

* Add ruby_rubocop_chromebrew to buildessential

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Adjust Container Package Updater workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

* Update Gen PR workflow.

Signed-off-by: Satadru Pramanik <satadru@gmail.com>

---------

Signed-off-by: Satadru Pramanik <satadru@gmail.com>
This commit is contained in:
Satadru Pramanik, DO, MPH, MEng
2025-09-19 18:29:13 -04:00
committed by GitHub
parent 4d9b19333c
commit 52ee8f28ea
3 changed files with 5 additions and 2 deletions

View File

@@ -39,6 +39,8 @@ jobs:
set -x set -x
# Make crew do automatic gem installs before looking for deps. # Make crew do automatic gem installs before looking for deps.
ruby bin/crew version ruby bin/crew version
# Force creation of temporary device.json.
ruby bin/crew deps zstd_static
export PACKAGES="$(ruby bin/crew deps core buildessential | sort -u)" export PACKAGES="$(ruby bin/crew deps core buildessential | sort -u)"
# shellcheck disable=SC2116 # shellcheck disable=SC2116
gh workflow -R chromebrew/chromebrew run Updater-on-Demand.yml -f version_cmd_input="$(echo ${PACKAGES})" gh workflow -R chromebrew/chromebrew run Updater-on-Demand.yml -f version_cmd_input="$(echo ${PACKAGES})"

View File

@@ -447,7 +447,7 @@ jobs:
PR_NUMBER=$(gh pr list -L 1 -s open -H ${{ inputs.branch || github.ref_name }} | cut -f1) PR_NUMBER=$(gh pr list -L 1 -s open -H ${{ inputs.branch || github.ref_name }} | cut -f1)
PR_TITLE_INPUT="${{ inputs.pr_title }}" PR_TITLE_INPUT="${{ inputs.pr_title }}"
if [[ -z ${PR_TITLE_INPUT} ]]; then if [[ -z ${PR_TITLE_INPUT} ]]; then
PR_TITLE="$(git log --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Build Run on\|Package File Update Run on" | tail -n 1 | cut -c 11-)" PR_TITLE="$(git log --oneline master..${{ inputs.branch || github.ref_name }} | grep -v "Merge branch 'master'\|Build Run on\|Package File Update Run on" | tail -n 1 | cut -c 11-)"
else else
PR_TITLE="${{ inputs.pr_title }}" PR_TITLE="${{ inputs.pr_title }}"
fi fi

View File

@@ -3,7 +3,7 @@ require 'package'
class Buildessential < Package class Buildessential < Package
description 'A collection of tools essential to compile and build software.' description 'A collection of tools essential to compile and build software.'
homepage 'SKIP' homepage 'SKIP'
version '1.47' version '1.48'
license 'GPL-3+' license 'GPL-3+'
compatibility 'all' compatibility 'all'
@@ -188,6 +188,7 @@ class Buildessential < Package
# Add rubocop for linting packages. (This also installs the # Add rubocop for linting packages. (This also installs the
# rubocop config file.) # rubocop config file.)
depends_on 'ruby_rubocop' depends_on 'ruby_rubocop'
depends_on 'ruby_rubocop_chromebrew'
# Code quality # Code quality
depends_on 'py3_pre_commit' depends_on 'py3_pre_commit'