Hourly FFMC #8363
Workflow file for this run
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: Pull request description | |
on: | |
pull_request: | |
branches: | |
- main | |
- roles | |
jobs: | |
set-description: | |
name: Set pull request description | |
runs-on: ubuntu-24.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}) |