Bump axios from 1.5.1 to 1.6.5 #130
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Preview Page" | |
on: | |
pull_request: | |
types: [opened] | |
jobs: | |
find-and-replace-job: | |
name: "Preview Page" | |
runs-on: ubuntu-latest | |
permissions: | |
issues: write | |
steps: | |
- uses: actions/checkout@main | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- uses: mad9000/actions-find-and-replace-string@2 | |
id: findandreplace | |
with: | |
source: ${{ github.event.pull_request.title }} | |
find: '[LYNA] 📝 Edit Page: ' | |
replace: '' | |
- uses: mad9000/actions-find-and-replace-string@2 | |
id: commentwith | |
with: | |
source: ${{ steps.findandreplace.outputs.value }} | |
find: '[LYNA] ➕ New Page: ' | |
replace: '' | |
- uses: ASzc/change-string-case-action@v2 | |
id: string | |
with: | |
string: ${{ steps.commentwith.outputs.value }} | |
- name: Comment PR | |
uses: thollander/actions-comment-pull-request@v1 | |
with: | |
message: | | |
Hello and thank you for your contribution! | |
A moderator will check the links on your page within the next 48 hours. | |
Preview link: [${{ steps.commentwith.outputs.value }}](https://deploy-preview-${{ github.event.pull_request.number }}--lyna.netlify.app/${{ steps.string.outputs.lowercase }}) | |
© [Tai Studio](https://tai-studio.netlify.app/) 2021/2022 | |
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | |
- uses: izhangzhihao/delete-comment@master | |
with: | |
github_token: ${{ secrets.GH_TOKEN }} | |
delete_user_name: netlify[bot] | |
issue_number: ${{ github.event.pull_request.number }} |