We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6a4cd32 commit 1aee499Copy full SHA for 1aee499
1 file changed
.github/workflows/coverage-report.yml
@@ -10,6 +10,8 @@ on:
10
jobs:
11
coverage:
12
runs-on: ubuntu-latest
13
+ permissions:
14
+ contents: write
15
16
steps:
17
- uses: actions/checkout@v4
@@ -27,13 +29,12 @@ jobs:
27
29
run: |
28
30
git config --local user.email "action@github.com"
31
git config --local user.name "GitHub Action"
32
+ git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}
33
git add README.md
34
if ! git diff --staged --quiet; then
35
git commit -m "Update coverage report [skip ci]"
36
git push
37
else
38
echo "No changes to commit"
39
fi
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40
0 commit comments