/pull-request-fixed-header

Keep a custom message on the top of your PR description

Primary LanguageTypeScriptMIT LicenseMIT

typescript-action status License WTFPL

Pull Request fixed Header

Keep a custom message on the top of your PR description

This Action is heavily inspired by fixed-pull-request-comment, but instead of having a separated comment, I wanted to update the PR's description instead.

name: PRSH example
on:
  pull_request:
    branches:
      - master
jobs:
  pull-request:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
      - uses: kyranjamie/pull-request-fixed-header@1.0.0
        with:
          header: '> 🚀 This message is automated and the run number is: **${{ github.run_number }}**'
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}