lucasmotta / pull-request-sticky-header

Keep a custom message on the top of your PR description

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

typescript-action status License WTFPL

Pull Request Sticky Header

Keep a custom message on the top of your PR description

This Action is heavily inspired by sticky-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: lucasmotta/pull-request-sticky-header@1.0.0
        with:
          header: '> 🚀 This message is automated and the run number is: **${{ github.run_number }}**'
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

About

Keep a custom message on the top of your PR description

License:MIT License


Languages

Language:TypeScript 89.4%Language:JavaScript 10.6%