summaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2024-11-18 20:59:13 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2024-11-18 20:59:13 +0000
commitd860084e2806ba3a4dd141ea9db0498ff7e34c4d (patch)
treef9fa67d8d371553ccdfbd101b8f3d887dda38ebd /.github/workflows
parentbb06d7e39f7f21ab877e9829596279bd4a226930 (diff)
downloadredmine-d860084e2806ba3a4dd141ea9db0498ff7e34c4d.tar.gz
redmine-d860084e2806ba3a4dd141ea9db0498ff7e34c4d.zip
Adds @bundle audit check --update@ to lints (#30069).
git-svn-id: https://svn.redmine.org/redmine/trunk@23291 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/linters.yml18
1 files changed, 17 insertions, 1 deletions
diff --git a/.github/workflows/linters.yml b/.github/workflows/linters.yml
index 730a6e7f1..54ffd08df 100644
--- a/.github/workflows/linters.yml
+++ b/.github/workflows/linters.yml
@@ -36,4 +36,20 @@ jobs:
run: yarn install
- name: Lint CSS and SCSS files
- run: npx stylelint "app/assets/stylesheets/**/*.css" \ No newline at end of file
+ run: npx stylelint "app/assets/stylesheets/**/*.css"
+
+ bundle-audit:
+ runs-on: ubuntu-latest
+
+ steps:
+ - name: Checkout code
+ uses: actions/checkout@v4
+
+ - name: Set up Ruby
+ uses: ruby/setup-ruby@v1
+ with:
+ ruby-version: '3.2'
+ bundler-cache: true
+
+ - name: Run bundle-audit
+ run: bundle exec bundle audit check --update