Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

try regex #64

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/code-path-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v3

- name: Set up Node.js (if using JavaScript/Node.js script)
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scripts/codepath-notification
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
codepath: [email protected]
\.yml$|\.js$: [email protected]
^.github/.*$: [email protected]
7 changes: 7 additions & 0 deletions .github/workflows/scripts/send-notification-on-change.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
// send-notification-on-change.js
//
// called by the code-path-changes.yml workflow, this script queries github for
// the changes in the current PR, checkes the config file for whether any of those
// file paths are set to alert an email address, and sends email to multiple
// parties if needed

const fs = require('fs');
const path = require('path');
const axios = require('axios');
Expand Down
Loading