Skip to content

Bump thollander/actions-comment-pull-request from 2.5.0 to 3.0.0 #724

Bump thollander/actions-comment-pull-request from 2.5.0 to 3.0.0

Bump thollander/actions-comment-pull-request from 2.5.0 to 3.0.0 #724

name: Comment deploy URL to PR
on:
pull_request:
types: [opened]
jobs:
comment-on-pr:
runs-on: ubuntu-latest
permissions:
pull-requests: write
name: Comment deploy URL to PR
steps:
- name: Get branch hash
id: get_hash
# This hash ⬇ is also calculated and used in the deploy workflow in demo.yaml to push the dist/ to Netlify
run: echo "::set-output name=hash::$(echo '${{ github.ref }}' | shasum | awk '{print substr($1,0,36)}')"
- name: Comment on PR
uses: thollander/[email protected]
with:
message: "<https://${{ steps.get_hash.outputs.hash }}--new-lexeme-special-page.netlify.app>"