Skip to content

Commit

Permalink
Document
Browse files Browse the repository at this point in the history
  • Loading branch information
nonprofittechy committed Aug 9, 2024
1 parent 2be676c commit 37f5438
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
21 changes: 21 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,27 @@ jobs:
ERROR_EMAILS: example@example.com,example2@example.com
```

### word_diff

Word-diff creates a report of the changes to any .docx files between `main` and the current
pull request, after converting the files to markdown

#### Usage

```yml
on:
pull_request:
paths:
- '**/*.docx'
jobs:
my-workflow:
...
steps:
- uses: SuffolkLITLab/ALActions/word_diff@main
```


## Development Details

Using [codeql-action](https://github.com/github/codeql-action) as
Expand Down
9 changes: 3 additions & 6 deletions word_diff/action.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name: DOCX Diff

on:
pull_request:
paths:
- '**/*.docx'

description: |
This action compares DOCX files in a pull request with the base branch and generates a diff in HTML format.
The HTML diff files are uploaded as artifacts and can be viewed in the 'Artifacts' section of the workflow run.
jobs:
docx-diff:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 37f5438

Please sign in to comment.