Skip to content

Commit d4e3de9

Browse files
committed
feat: init readme
1 parent cf365cf commit d4e3de9

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# webchanges-action
2+
A GitHub Action to detect web page changes. It uses [mborsetti/webchanges](https://github.com/mborsetti/webchanges) to find differences between web pages.
3+
4+
## Usage
5+
6+
The following example workflow step will create an issue in a GitHub repository if a web page has changed.
7+
8+
```yml
9+
- name: "Detect web page changes"
10+
id: webchanges
11+
uses: swimmwatch/webchanges-action@v1.0.0
12+
with:
13+
jobs: |
14+
name: Telegram Mini App documentation
15+
url: https://core.telegram.org/bots/webapps
16+
use_browser: false
17+
filters:
18+
- html2text
19+
config: |
20+
report:
21+
tz: UTC
22+
github_issue:
23+
enabled: true
24+
owner: '${{ github.repository_owner }}'
25+
repo: '${{ github.event.repository.name }}'
26+
token: '${{ secrets.GITHUB_TOKEN }}'
27+
format_dt: '%Y-%m-%d'
28+
title: 'Telegram Mini App documentation update {dt}'
29+
assignees:
30+
- 'swimmwatch'
31+
format_content: |
32+
```text
33+
{content}
34+
```
35+
```
36+
37+
## Options
38+
The following input variables options can/must be configured:
39+
40+
| Input variable | Necessity | Description | Default |
41+
|----------------|-----------|------------------------------------------------|---------|
42+
| `jobs` | Required | List of jobs to run for web changes detection. | |
43+
| `config` | Required | Configuration for the web changes detector. | |
44+
45+
46+
## Contributing
47+
We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
48+
- Reporting a bug
49+
- Discussing the current state of the code
50+
- Submitting a fix
51+
- Proposing new features
52+
53+
## License
54+
webchanges-action is licensed under the [MIT License](LICENSE).

0 commit comments

Comments
 (0)