Skip to content

MoreCast 2.0 - Grass Curing workaround #5625

MoreCast 2.0 - Grass Curing workaround

MoreCast 2.0 - Grass Curing workaround #5625

Workflow file for this run

name: Pull request description
on:
pull_request:
branches:
- main
- roles
jobs:
set-description:
name: Set pull request description
runs-on: ubuntu-22.04
permissions:
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Set description
uses: actions/github-script@v7
with:
# reference used to figure out this part:
# https://docs.github.com/en/rest/reference/pulls#list-pull-requests
# https://octokit.github.io/rest.js/v18#pulls
# https://github.com/actions/github-script
script: |
const script = require('./.github/workflows/pr_description.js')
await script({github, context})