File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1212 - name : Checkout repository
1313 uses : actions/checkout@v4
1414 - name : Set up Node.js
15- uses : actions/setup-node@v2
15+ uses : actions/setup-node@v4
1616 with :
1717 node-version : ' 21.6.1'
1818 - name : Check node.js version
Original file line number Diff line number Diff line change 11# Runs when PR is created, updated, or reopened
22
33name : Deploy to Firebase Hosting on PR
4- ' on ' : pull_request
4+ on : pull_request
55jobs :
66 build_and_preview :
77 if : ' ${{ github.event.pull_request.head.repo.full_name == github.repository }}'
1010 - name : Checkout repository
1111 uses : actions/checkout@v4
1212 - name : Set up Node.js
13- uses : actions/setup-node@v2
13+ uses : actions/setup-node@v4
1414 with :
1515 node-version : ' 21.6.1'
1616 - name : Check node.js version
4646 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4747 run : |
4848 COMMENT="Oops! The build failed."
49- curl -sSL -H "Authorization: token $GITHUB_TOKEN" -d "{\"body\": \"$COMMENT\"}" -H "Content-Type: application/json" -X POST "https://api.github.com/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.pull_request.number }}/comments"
49+ curl -sSL -H "Authorization: token $GITHUB_TOKEN" -d "{\"body\": \"$COMMENT\"}" -H "Content-Type: application/json" -X POST "https://api.github.com/repos/${GITHUB_REPOSITORY}/issues/${{ github.event.pull_request.number }}/comments"
You can’t perform that action at this time.
0 commit comments