From 80e303cbca4f14630f27c51636ce37ec5c1d00a6 Mon Sep 17 00:00:00 2001 From: Justin Searls Date: Mon, 17 Jun 2024 12:55:29 -0400 Subject: [PATCH] test --- action.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/action.yml b/action.yml index 442ab03..2c5f352 100644 --- a/action.yml +++ b/action.yml @@ -2,10 +2,6 @@ name: 'Standard Ruby' description: 'A GitHub Action that lints and auto-fixes your Ruby code with Standard Ruby' author: 'Justin Searls ' -defaults: - run: - shell: bash - runs: using: composite @@ -21,13 +17,16 @@ runs: bundler-cache: true - name: Install dependencies + shell: bash run: bundle install - name: Run Standard Ruby with autofix + shell: bash run: bundle exec standardrb --fix id: standardrb - name: Commit changes + shell: bash run: | git config --global user.name 'standard-ruby-action[bot]' git config --global user.email 'standard-ruby-action[bot]@users.noreply.github.com' @@ -37,11 +36,10 @@ runs: git push - name: Fail if Standard Ruby failed + shell: bash if: ${{ steps.standardrb.outcome == 'failure' }} run: exit 1 -env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} branding: icon: 'code' color: 'gray-dark'