Skip to content

lucasmotta/pull-request-sticky-header

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

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/[email protected]
        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

Resources

License

Stars

Watchers

Forks

Packages

No packages published