Skip to content

Update owasp_funding_yml_scraper.py #19

Update owasp_funding_yml_scraper.py

Update owasp_funding_yml_scraper.py #19

name: Scrape Funding
on:
push:
branches:
- main
permissions:
contents: write
jobs:
parse_repos:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r .github/scripts/funding/requirements.txt
- name: Parse repositories
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python .github/scripts/funding/owasp_funding_yml_scraper.py
- name: Commit and push
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add project_repos_links.json index.html
git commit -m "Update repository status" || echo "No changes to commit"
git push