From e3b89bc928d4a30a5d2c78a947482c7089fdb749 Mon Sep 17 00:00:00 2001 From: Varun Sharma Date: Mon, 29 Jan 2024 16:16:01 -0800 Subject: [PATCH] Update hosted-file-monitor-with-hr.yml --- .github/workflows/hosted-file-monitor-with-hr.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hosted-file-monitor-with-hr.yml b/.github/workflows/hosted-file-monitor-with-hr.yml index 12dc07f2..ca547a06 100644 --- a/.github/workflows/hosted-file-monitor-with-hr.yml +++ b/.github/workflows/hosted-file-monitor-with-hr.yml @@ -1,7 +1,7 @@ name: "Hosted: File Monitoring with Harden-Runner" on: workflow_dispatch: - + push: jobs: build: runs-on: ubuntu-latest @@ -9,11 +9,17 @@ jobs: - uses: step-security/harden-runner@v2 with: egress-policy: audit + - uses: crazy-max/ghaction-github-status@v4 - uses: actions/checkout@v3 - name: npm install run: | cd ./src/backdoor-demo - npm install + npm install + - name: get-npm-version + id: package-version + uses: martinbeentjes/npm-get-version-action@v1.3.1 + with: + path: src/backdoor-demo - name: Publish to Registry uses: elgohr/Publish-Docker-Github-Action@v5 with: