Skip to content

Commit

Permalink
Push node version (#3)
Browse files Browse the repository at this point in the history
* feat: push node version

* fix: test workflow
  • Loading branch information
bramkor authored Dec 16, 2024
1 parent e6e5b35 commit 52a513a
Show file tree
Hide file tree
Showing 4 changed files with 4,851 additions and 2,384 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
on:
push:
branches:
- master
- main

jobs:
release:
Expand All @@ -24,10 +24,12 @@ jobs:
cp -R dist/ release/dist/
- name: Start Bright Discovery 🏁
id: discovery
uses: NeuraLegion/run-discovery@release
uses: NeuraLegion/run-discovery@push-node-version
with:
api_token: ${{ secrets.BRIGHTSEC_TOKEN }}
name: GitHub discovery ${{ github.sha }}
project_id: ${{ vars.PROJECT_ID }}
hostname: ${{ vars.HOSTNAME }}
discovery_types: |
[ "crawler" ]
crawler_urls: |
Expand All @@ -39,4 +41,4 @@ jobs:
uses: ./release
with:
api_token: ${{ secrets.BRIGHTSEC_TOKEN }}
scan: ${{ steps.discovery.outputs.id }}
discovery: ${{ steps.discovery.outputs.id }}
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ inputs:
description: 'Hostname. Default is app.brightsec.com'
required: false
runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 52a513a

Please sign in to comment.