File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11name : Respond on New Pick Request
2+
23on :
34 issues :
45 types : [labeled]
6+
7+ permissions :
8+ contents : read
9+
510jobs :
611 publish-message :
712 runs-on : ubuntu-latest
813 steps :
914 - name : Publish Message
10- uses : actions/github-script@v6
15+ uses : actions/github-script@v7
1116 if : github.event.label.name == 'Type Pick Request'
1217 env :
13- GITHUB_TOKEN : ${{ secrets.REACT_NATIVE_BOT_REACT_WG_REACT_NATIVE_RELEASES_TOKEN }}
1418 MESSAGE : $(cat ./pick-request-hello-message.md)
15- with :
19+ with :
20+ github-token : ${{ secrets.REACT_NATIVE_BOT_REACT_WG_REACT_NATIVE_RELEASES_TOKEN }}
1621 script : |
1722 github.rest.issues.createComment({
1823 issue_number: github.context.issue.number,
1924 owner: github.context.repo.owner,
2025 repo: github.context.repo.repo,
2126 body: "${MESSAGE}"
22- })
27+ })
You can’t perform that action at this time.
0 commit comments