27
27
branches :
28
28
- main
29
29
30
+ permissions :
31
+ checks : write
32
+
30
33
jobs :
31
34
satisfy-required-checks :
32
35
name : Satisfy Required Checks
84
87
run : |
85
88
curl --request POST \
86
89
--url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \
87
- --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
90
+ --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \
88
91
--header "content-type: application/json" \
89
92
--header "Accept: application/vnd.github.v3+json" \
90
93
--data '{
@@ -103,7 +106,7 @@ jobs:
103
106
run : |
104
107
curl --request POST \
105
108
--url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \
106
- --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
109
+ --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \
107
110
--header "content-type: application/json" \
108
111
--header "Accept: application/vnd.github.v3+json" \
109
112
--data '{
@@ -122,7 +125,7 @@ jobs:
122
125
run : |
123
126
curl --request POST \
124
127
--url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \
125
- --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
128
+ --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \
126
129
--header "content-type: application/json" \
127
130
--header "Accept: application/vnd.github.v3+json" \
128
131
--data '{
@@ -141,7 +144,7 @@ jobs:
141
144
run : |
142
145
curl --request POST \
143
146
--url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \
144
- --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
147
+ --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \
145
148
--header "content-type: application/json" \
146
149
--header "Accept: application/vnd.github.v3+json" \
147
150
--data '{
@@ -160,7 +163,7 @@ jobs:
160
163
run : |
161
164
curl --request POST \
162
165
--url https://api.github.com/repos/looker-open-source/sdk-codegen/check-runs \
163
- --header "authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
166
+ --header "authorization: token ${{ secrets.GITHUB_TOKEN }}" \
164
167
--header "content-type: application/json" \
165
168
--header "Accept: application/vnd.github.v3+json" \
166
169
--data '{
0 commit comments