We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5f4a5d commit 23bf48bCopy full SHA for 23bf48b
.github/workflows/codecov.yml
@@ -5,6 +5,9 @@ on: [push, pull_request]
5
jobs:
6
build:
7
runs-on: ubuntu-latest
8
+ permissions:
9
+ contents: write
10
+ pull-requests: write
11
12
strategy:
13
matrix:
@@ -14,7 +17,9 @@ jobs:
14
17
- name: Checkout repository
15
18
uses: actions/checkout@v2
16
19
with:
- fetch-depth: 2
20
+ # Fine-grained PAT with contents:write and workflows:write
21
+ # scopes
22
+ token: ${{ secrets.GITHUB_TOKEN }}
23
24
- name: Set up Node.js ${{ matrix.node-version }}
25
uses: actions/setup-node@v1
@@ -30,4 +35,4 @@ jobs:
30
35
- name: Upload coverage to Codecov
31
36
uses: codecov/codecov-action@v1
32
37
33
- token: ${{ secrets.CODECOV_TOKEN }}
38
0 commit comments