mirror of
https://github.com/apache/superset.git
synced 2026-04-14 13:44:46 +00:00
* 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
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_TOKENsecret. - Requires the comment's message in the
msgparameter. - Supports
pushandpull_requestevent 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!"