2021-05-15 14:30:13 +00:00
|
|
|
name: 📝 Readme Update
|
2020-11-16 22:59:12 +00:00
|
|
|
|
|
|
|
on:
|
2021-09-22 15:37:10 +00:00
|
|
|
workflow_run:
|
|
|
|
workflows: ["🗒 Templates Stats"]
|
|
|
|
types:
|
|
|
|
- completed
|
2021-07-20 07:55:28 +00:00
|
|
|
workflow_dispatch:
|
2020-11-16 22:59:12 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
2021-09-22 15:37:10 +00:00
|
|
|
if: github.repository == 'projectdiscovery/nuclei-templates'
|
2020-11-16 22:59:12 +00:00
|
|
|
steps:
|
2024-08-05 02:48:40 +00:00
|
|
|
- run: sudo apt-get install tree -y
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: actions/setup-python@v5
|
2020-11-16 23:02:12 +00:00
|
|
|
with:
|
|
|
|
python-version: "3.8"
|
2024-08-05 02:48:40 +00:00
|
|
|
- run: python .github/scripts/update-readme.py
|
|
|
|
- uses: projectdiscovery/actions/setup/git@v5
|
|
|
|
- uses: projectdiscovery/actions/commit@v5
|
2020-11-16 23:02:12 +00:00
|
|
|
with:
|
2024-08-05 02:48:40 +00:00
|
|
|
files: 'README.md'
|
|
|
|
message: 'docs: update README 🤖'
|
|
|
|
- run: git push origin $GITHUB_REF
|