File tree Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Expand file tree Collapse file tree 1 file changed +6
-7
lines changed Original file line number Diff line number Diff line change 23
23
- name : Tag app authors
24
24
env :
25
25
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
26
- PR_NUMBER : ${{ github.event.pull_request.number }}
27
- REPO : ${{ github.repository }} # this is the slug, so user/repo
26
+ # PR_NUMBER: ${{ github.event.pull_request.number }}
27
+ # REPO: ${{ github.repository }} # this is the slug, so user/repo
28
+ COMMENT_URL : https://api.github.com/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments
28
29
run : |
29
30
git diff --name-only origin/master... -- apps/ \
30
31
| grep -o 'apps/[^/]*' \
41
42
done \
42
43
| jq -Rsc '{body: .}' \
43
44
| xargs -I{} curl \
44
- -fsSL \
45
- -H "Accept: application/vnd.github+json" \
46
- -H "Authorization: Bearer $GITHUB_TOKEN" \
45
+ -fLsS \
46
+ -H "Authorization: token $GITHUB_TOKEN" \
47
47
-H "Content-Type: application/json" \
48
- -H "X-GitHub-Api-Version: 2022-11-28" \
49
48
-d {} \
50
- "https://api.github.com/repos/$REPO/issues/$PR_NUMBER/comments "
49
+ "$COMMENT_URL "
You can’t perform that action at this time.
0 commit comments