mirror of
https://github.com/MinaSaad1/pbi-cli
synced 2026-04-21 13:37:19 +00:00
fix: use PAT to bypass branch protection in downloads chart workflow
This commit is contained in:
parent
6642cf12d2
commit
3c6261dc9b
1 changed files with 3 additions and 1 deletions
4
.github/workflows/downloads-chart.yml
vendored
4
.github/workflows/downloads-chart.yml
vendored
|
|
@ -14,6 +14,8 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v5
|
- uses: actions/checkout@v5
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.PAT }}
|
||||||
|
|
||||||
- uses: actions/setup-python@v6
|
- uses: actions/setup-python@v6
|
||||||
with:
|
with:
|
||||||
|
|
@ -22,7 +24,7 @@ jobs:
|
||||||
- name: Regenerate cumulative downloads chart
|
- name: Regenerate cumulative downloads chart
|
||||||
run: python scripts/generate_downloads_chart.py
|
run: python scripts/generate_downloads_chart.py
|
||||||
|
|
||||||
- name: Commit updated chart
|
- name: Commit and push updated chart
|
||||||
run: |
|
run: |
|
||||||
if git diff --quiet assets/downloads-chart.svg; then
|
if git diff --quiet assets/downloads-chart.svg; then
|
||||||
echo "No changes to downloads chart."
|
echo "No changes to downloads chart."
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue