Commit graph

7 commits

Author SHA1 Message Date
Paul Stack a70cf66fae
Upgrade pulumi docker image to use NodeJS 14.x (#7904)
Fixes: #7878

also, we stopp building the pulumi actions docker container as we are
now EOL as per 31st August
2021-09-09 20:49:22 +03:00
Paul Stack 73a8db6435
Add ability to test downstream codegen and docsgen from PRs (#7104)
Fixes: #7099

PRs from maintainers will work as normal - PRs from the community
can now be triggered with command dispatch events
2021-05-21 17:54:14 +01:00
Paul Stack 5401057561
Move linting check into command-dispatch job (#6277)
This fixes not picking up linting issues when sending a PR as
the PR job uses `pull_request_target` which in turn only checks out
from master which is a security measure
2021-02-08 19:55:02 +00:00
Lee-Ming Zen 044e37573e Remove checkout of head in PR workflow 2021-01-21 20:18:56 -08:00
Paul Stack c1cdbccb46
Change back to pull-request-target which allows a write GitHub Token (#6151) 2021-01-20 19:53:44 +00:00
jon 30088d34c5
fixes lint checkout target for prs (#5971) 2020-12-16 21:15:06 -08:00
Paul Stack 8396030578
Enable command dispatch workflow for dealing with PRs (#5851)
There are a few things happening here:

- Rename the command dispatch release events to be prefixed with trigger-
- Introduce a new command-dispatch event

  This new event listens for a trigger term in a comment e.g. /run-acceptance-tests

  This trigger term is *only* needed when the PR is from a fork! When the trigger term is posted
  then the run-build-and-acceptance-tests.yml event is fired

- run-build-and-acceptance-tests.yml

  If the user runs the code from a pulumi based branch, then the tests and builds will work as normal
  If this file is being run via respository_dispatch then it will be able to run the test and builds
  and also post a comment back to the PR with the link to the test run

It's important to say that PRs affecting the codegen and resource docs paths will only fire from a
pulumi based branch - there is currently no command dispatch events for these codegen and resource PRs!
2020-12-07 19:29:04 +00:00