superset/.github/actions/comment-on-pr
Jesse Yang a3bbbf8ea3
build: inline external Github Actions to unblock CI (#12241)
* build: inline cached-dependencies to unblock CI

* Run E2E on pull_request on;y

* Inline all external actions

* Checkout needed for internal actions

Also fixes pre-commit

* Add missing files
2021-01-04 14:16:07 +02:00
..
action.yml build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
Dockerfile build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
entrypoint.sh build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
LICENSE build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00
README.md build: inline external Github Actions to unblock CI (#12241) 2021-01-04 14:16:07 +02:00

Comment on PR via GitHub Action

A GitHub action to comment on the relevant open PR when a commit is pushed.

Usage

  • Requires the GITHUB_TOKEN secret.
  • Requires the comment's message in the msg parameter.
  • Supports push and pull_request event types.

Sample workflow

name: comment-on-pr example
on: pull_request
jobs:
  example:
    name: sample comment
    runs-on: ubuntu-latest
    steps:
      - name: comment PR
        uses: unsplash/comment-on-pr@master
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          msg: "Check out this message!"