Fetch all tools #4
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: Fetch all tools | |
on: | |
workflow_dispatch: | |
schedule: | |
#Every Sunday at 8:00 am | |
- cron: "0 8 * * 0" | |
permissions: | |
contents: write | |
jobs: | |
fetch-all-tools: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-python@v4 | |
- name: Install requirement | |
run: python -m pip install -r requirements.txt | |
- name: Run script | |
# run: bash bin/extract_all_tools.sh | |
run: echo "test" > results/all_tools.csv | |
- name: Commit all tools | |
run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git commit -am "All tools bot" | |
git push |