nuclei-templates/.github/workflows/readme-update.yml

27 lines
699 B
YAML
Raw Normal View History

2021-05-15 14:30:13 +00:00
name: 📝 Readme Update
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:
jobs:
build:
runs-on: ubuntu-latest
2021-09-22 15:37:10 +00:00
if: github.repository == 'projectdiscovery/nuclei-templates'
steps:
- 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"
- 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:
files: 'README.md'
message: 'docs: update README 🤖'
- run: git push origin $GITHUB_REF