Skip to content

Workflow file for this run

name: Fetch PRs
on:
push:
branches:
- main
workflow_dispatch:
jobs:
fetchPullRequests:

Check failure on line 10 in .github/workflows/fetch_prs.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/fetch_prs.yml

Invalid workflow file

You have an error in your yaml syntax on line 10
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.8'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install requests pandas
- name: Run script to fetch PRs
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
python tracker.py
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
run: |
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add docs/all_prs.json
git commit -m 'Update PR report'
git push
- name: Deploy GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
publish_dir: ./docs