Skip to content

Commit

Permalink
reverted brakeman-analysis.yml, added new workflow to remove debuggin…
Browse files Browse the repository at this point in the history
…g gems
  • Loading branch information
GeorgeCodes19 committed May 1, 2024
1 parent 9aa9c5e commit 86cca02
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/brakeman-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Remove Debug Gems
run: |
sed -i '' '/debase-ruby_core_source/d' ./Gemfile
sed -i '' '/debase/d' ./Gemfile
sed -i '' '/ruby-debug-ide/d' ./Gemfile

- uses: ./.github/actions/setup-languages

# Execute Brakeman CLI.
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/gemfile-cleanup.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Cleanup Gemfile and remove and debug gems

on:
push: # Trigger on push to any branch
pull_request: # Trigger on pull requests to any branch

jobs:
clean_gemfile:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Remove Debug Gems from Gemfile
run: |
sed -i '/debase-ruby_core_source/d' ./Gemfile
sed -i '/debase/d' ./Gemfile
sed -i '/ruby-debug-ide/d' ./Gemfile

0 comments on commit 86cca02

Please sign in to comment.