ponylang / release-notes-reminder-bot-action

:horse: Bot to remind that release notes are needed when a CHANGELOG label is added to a PR

Home Page:https://ponylang.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Release-notes-reminder-bot action

Bot to remind that release notes are needed when a CHANGELOG label is added to a PR. One of 3 labels must be applied to the PR in order to trigger a reminder.

  • changelog - added
  • changelog - fixed
  • changelog - changed

Example workflow

name: Release Notes Reminder Bot

on:
  pull_request_target:
    types: [labeled]

jobs:
  release-note-reminder-bot:
    runs-on: ubuntu-latest
    name: Prompt to add release notes
    steps:
      - name: Prompt to add release notes
        uses: docker://ponylang/release-notes-reminder-bot-action:0.1.1
        env:
          API_CREDENTIALS: "${{ secrets.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}"

API_CREDENTIALS can be of two forms. If you would like to post the release notes reminder comment as a specific user, then create a personal access token as that user and set API_CREDENTIALS to the token value.

If you are ok with the comment being posted as "GitHub Bot" then you can set API_CREDENTIALS to "${{ secrets.GITHUB_ACTOR }}:${{ secrets.GITHUB_TOKEN }}". You do not need to supply GITHUB_ACTOR nor GITHUB_TOKEN as they are supplied by the GitHub actions environment already.

About

:horse: Bot to remind that release notes are needed when a CHANGELOG label is added to a PR

https://ponylang.io

License:BSD 2-Clause "Simplified" License


Languages

Language:Python 83.1%Language:Makefile 11.9%Language:Dockerfile 5.0%