Skip to content

Commit

Permalink
Use yarn audit workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zaelgohary committed Jun 13, 2024
1 parent 354edac commit 0aa0577
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 28 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/audit_fix.yml

This file was deleted.

24 changes: 24 additions & 0 deletions .github/workflows/yarn_audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# When the action is executed, it runs yarn audit command in all the paths that is mentioned in the input. The exit codes of the commands are compared and if it is greater than 7 (only high severity as of now), the action will try to fetch the open issues in the repo with the label provided in the input. The label is mandatory to prevent from creating duplicate issues. If there are no open issues with the given label in open state, the action will try to create a Github Issue with the details provided in the input.

name: Full Clients Audit

on:
push:
branches: [development, development_2.6]
pull_request:
branches: [development, development_2.6]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Yarn Audit
uses: pragatheeswarans/[email protected]
with:
token: ${{ github.token }}
label: 'type_bug'
title: ${{ github.workflow }} failed during ${{ github.event }}
description: 'High severity issues are identified in the repo.'
paths: |
.

0 comments on commit 0aa0577

Please sign in to comment.