Skip to content

Commit

Permalink
Undo changes to package-audit.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
myrotvorets-team committed Jan 13, 2021
1 parent 076cbf3 commit 40cdace
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/package-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,26 +16,8 @@ on:
workflow_dispatch:

jobs:
prepare:
runs-on: ubuntu-latest
outputs:
head_tag: ${{ steps.head_tag.outputs.head_tag }}
steps:
- name: Checkout
uses: actions/checkout@v2.3.4

- name: Retrieve tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*

- name: Check if Git tag exists
id: head_tag
run: echo "::set-output name=head_tag::$(git tag --points-at HEAD)"
if: startsWith(github.ref, 'refs/heads/')

audit-npm:
runs-on: ubuntu-latest
needs: prepare
if: ${{ !startsWith(github.ref, 'refs/heads/') || !needs.prepare.outputs.head_tag }}

strategy:
matrix:
Expand All @@ -55,8 +37,6 @@ jobs:

audit-retire:
runs-on: ubuntu-latest
needs: prepare
if: ${{ !startsWith(github.ref, 'refs/heads/') || !needs.prepare.outputs.head_tag }}

strategy:
matrix:
Expand Down

0 comments on commit 40cdace

Please sign in to comment.