mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-11 05:03:18 +08:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
909 B
YAML
35 lines
909 B
YAML
name: ✨ WordPress Plugins - Update
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
|
|
jobs:
|
|
Update:
|
|
runs-on: ubuntu-latest
|
|
if: github.repository == 'projectdiscovery/nuclei-templates'
|
|
steps:
|
|
- name: Check out repository code
|
|
uses: actions/checkout@v5
|
|
|
|
- name: Install Python3
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.10"
|
|
|
|
- run: python -m pip install --upgrade pip
|
|
- run: pip install -r .github/scripts/wordpress-plugins-update-requirements.txt
|
|
|
|
- name: Update Templates
|
|
run: python3 .github/scripts/wordpress-plugins-update.py
|
|
|
|
- uses: projectdiscovery/actions/setup/git@v1
|
|
|
|
- uses: projectdiscovery/actions/commit@v1
|
|
with:
|
|
files: '.'
|
|
message: 'chore: update WordPress Plugins 🤖'
|
|
|
|
- run: git pull origin $GITHUB_REF --rebase
|
|
- run: git push origin $GITHUB_REF
|