Skip to content

feat: output digest metrics #2

feat: output digest metrics

feat: output digest metrics #2

Workflow file for this run

name: Test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test ai-digest action
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
path: ai-digest
clean: true
# Test the action with no options specified.
- name: NoOptions
uses: ./ai-digest
- name: Test NoOptions outputs
run: |
test -f codebase.md
test -f ingest.md
# Test the action with all inputs specified.
- name: All Options
uses: ./ai-digest
with:
input_path: './ai-digest/.github/workflows'
output_file: 'workflows.md'
digest_log: 'workflows-ingest.md'
ai_digest_flags: ''
- name: Test Options outputs
run: |
test -f workflows.md
test -f workflows-ingest.md