Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
chore: use PAT
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Bouquillon authored Jun 22, 2023
1 parent 9fc789f commit dfeba68
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/update-datagouv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
token: ${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}

- name: Download data
id: download
continue-on-error: true
run: |
sudo apt-get update
sudo apt-get install -y curl git
Expand All @@ -35,10 +38,13 @@ jobs:
mv ./WEEZ.csv.gz ./data/WEEZ.csv.gz
else
echo "File not changed"
rm ./WEEZ.csv.gz
exit 1
fi;
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
if: steps.download.outcome == 'success'
with:
commit_message: "fix: Update datagouv data"
commit_author: "GitHub bot <[email protected]>"

0 comments on commit dfeba68

Please sign in to comment.