Skip to content

trying email

trying email #15

name: Notify Code Path Changes
on:
pull_request:
types: [opened, synchronize]
paths:
- '**'
env:
OAUTH2_CLIENT_ID: : ${{ secrets.OAUTH2_CLIENT_ID }}

Check failure on line 10 in .github/workflows/code-path-changes.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/code-path-changes.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
OAUTH2_CLIENT_SECRET: : ${{ secrets.OAUTH2_CLIENT_SECRET }}
OAUTH2_REFRESH_TOKEN: : ${{ secrets.OAUTH2_REFRESH_TOKEN }}
GITHUB_REPOSITORY: ${{ github.repository }}
GITHUB_PR_NUMBER: ${{ github.event.pull_request.number }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
notify:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Set up Node.js (if using JavaScript/Node.js script)
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install axios nodemailer googleapis
- name: Run Notification Script
run: |
node test/send-notification-on-change.js