Skip to content

[5.x] Add support to display statamic widgets on resource index page #170

[5.x] Add support to display statamic widgets on resource index page

[5.x] Add support to display statamic widgets on resource index page #170

Workflow file for this run

name: Pull Request Title
on:
pull_request:
types: [opened, edited, synchronize, reopened]
jobs:
pr-title:
runs-on: ubuntu-latest
steps:
- name: Validate PR title
uses: deepakputhraya/action-pr-title@master
continue-on-error: true
id: validate-pr-title
with:
regex: '^\[\d+\.x\]\s'
# - name: Update PR title
# if: always() && (steps.validate-pr-title.outcome == 'failure')
# run: |
# echo "Updating PR title"
# curl -X PATCH \
# -H "Authorization: token ${{ secrets.GITHUB_TOKEN }}" \
# -H "Accept: application/vnd.github.v3+json" \
# https://api.github.com/repos/${{ github.repository }}/pulls/${{ github.event.number }} \
# -d '{"title": "[${{ github.base_ref }}] ${{ github.event.pull_request.title }}"}'