diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index ab6f2224..a354394c 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -6,6 +6,8 @@ on: jobs: test: runs-on: ubuntu-latest + permissions: + contents: write steps: - name: Checkout uses: actions/checkout@v4 @@ -22,4 +24,9 @@ jobs: uses: cicirello/jacoco-badge-generator@v2 with: generate-branches-badge: true - jacoco-csv-file: generator/build/reports/jacoco/test/jacocoTestReport.csv \ No newline at end of file + jacoco-csv-file: generator/build/reports/jacoco/test/jacocoTestReport.csv + - name: Upload + uses: stefanzweifel/git-auto-commit-action@v5 + with: + file_pattern: ".github/badges/**" + commit_message: "ci: update badge" \ No newline at end of file