更新文件名 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 更新文件名 | |
on: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout actions | |
uses: actions/checkout@v1 | |
- name: Set up Python 3.7 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.7 | |
- name: run py script | |
run: | | |
python wordlist_from_dir1.py | |
- name: run py script | |
run: | | |
python wordlist_from_dir.py | |
- name: commit | |
run: | | |
git config --global user.email [email protected] | |
git config --global user.name mrwq | |
git add . | |
git commit -m "update file name" -a | |
- name: Push changes | |
uses: ad-m/github-push-action@master | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: ${{ github.ref }} |