Files
Chad Bentz 7cfdb92164 Potential fix for code scanning alert no. 11: Workflow does not contain permissions
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2025-05-12 17:30:29 -04:00

25 lines
413 B
YAML

name: "Test"
permissions:
contents: read
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
- 'releases/*'
jobs:
# test action works running from the graph
test:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v4
- name: Unit test
run: |
npm install
npm run test