Skip to content

Commit

Permalink
Fix Security Advisor (#67)
Browse files Browse the repository at this point in the history
* Fix Security Advisor

* change name actions
  • Loading branch information
JaSiLez authored Sep 19, 2023
1 parent be9dd42 commit 7e7630c
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 8 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/action-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,13 @@ on:
- README.md

workflow_dispatch:


permissions:
actions: read
contents: read

jobs:
nodejs-build:
Build:
runs-on: ubuntu-latest
strategy:
max-parallel: 2
Expand All @@ -30,9 +34,10 @@ jobs:
- run: npm ci
- run: npm run build --if-present
## - run: npm test //Testing GH Actions
action-test:

Test_Actions:
runs-on: ubuntu-latest
needs: [ nodejs-build ]
needs: [ Build ]
strategy:
max-parallel: 2
matrix:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ on:
# pull_request_target:
# types: [opened, reopened, synchronize]

permissions:
actions: read
contents: read


jobs:
update_release_draft:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Send email
name: SMTP Notifier
description: Send an email to multiple recipients
author: JaSiLez
branding:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "smpt-notifier",
"name": "SMTP-notifier",
"main": "main.js",
"scripts": {
"test": "node test/helloWorld.js"
Expand Down

0 comments on commit 7e7630c

Please sign in to comment.