Skip to content

Commit

Permalink
Update progress-tracker.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
joegeorge022 authored Nov 19, 2024
1 parent a77c501 commit 6c01dec
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/progress-tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,15 @@ on:
jobs:
update-progress:
runs-on: ubuntu-latest
permissions:
contents: write

steps:
- name: Checkout Repository
uses: actions/checkout@v3
with:
fetch-depth: 0 # Get full history
token: ${{ secrets.PAT_TOKEN }}

- name: Set up Python
uses: actions/setup-python@v4
Expand Down Expand Up @@ -53,10 +56,11 @@ jobs:
- name: Commit and Push Reports
run: |
git config user.name "GitHub Action"
git config user.email "actions@github.com"
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add Progress_Report.md
git add progress_dashboard.html
git add chart_data.json
git commit -m "Update progress report [skip ci]" || echo "No changes to commit"
git remote set-url origin https://x-access-token:${{ secrets.PAT_TOKEN }}@github.com/${{ github.repository }}
git push

0 comments on commit 6c01dec

Please sign in to comment.