pulumi/.github/workflows/pr.yml

25 lines
1021 B
YAML

name: New Pull Request
on:
pull_request_target:
jobs:
comment-on-pr:
# We only care about commenting on a PR if the PR is from a fork
if: github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Comment PR
uses: thollander/actions-comment-pull-request@1.0.1
with:
message: |
PR is now waiting for a maintainer to take action.
**Note for the maintainer:** Commands available:
* `/run-acceptance-tests` - used to test run the acceptance tests for the project
* `/run-integration-tests` - used to run the full integration tests for the project
* `/run-codegen` - used to test the Pull Request against downstream codegen
* `/run-docs-gen` - used to test the Pull Request against documentation generation
* `/run-containers` - used to test the Pull Request against the containers tests
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}