From 3ba0e08f62a71bd2a0de624121d0bc906db40688 Mon Sep 17 00:00:00 2001 From: Heuzef Date: Tue, 5 Mar 2024 10:06:54 +0100 Subject: [PATCH] Update resultat.yml --- .github/workflows/resultat.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/resultat.yml b/.github/workflows/resultat.yml index 5304b67..7c893bf 100644 --- a/.github/workflows/resultat.yml +++ b/.github/workflows/resultat.yml @@ -4,7 +4,15 @@ on: jobs: build: runs-on: ubuntu-latest + permissions: + contents: read steps: - uses: actions/checkout@v2 - name: Mis a jour du resultat du vote Borda - run: python ${{ github.workspace }}/vote_borda.py > ${{ github.workspace }}/resultat_vote.txt \ No newline at end of file + run: python ${{ github.workspace }}/vote_borda.py > ${{ github.workspace }}/resultat_vote.txt + + - name: Ajouter le fichier resultat_vote.txt + run: git add ${{ github.workspace }}/resultat_vote.txt + + - name: Push les modifications + run: git push origin master \ No newline at end of file