Get an error from Github: `pull-request is not a valid event name`

https://help.github.com/en/actions/reference/events-that-trigger-workflows#example-using-a-list-of-events
This commit is contained in:
Ivan Shcherbak 2020-04-14 10:08:39 +03:00 committed by Paul Merlin
parent ae5079ecac
commit a5009d1aec

View file

@ -13,7 +13,7 @@ The following workflow will run `gradle build` using the wrapper from the reposi
```yaml ```yaml
# .github/workflows/gradle-build-pr.yml # .github/workflows/gradle-build-pr.yml
name: Run Gradle on PRs name: Run Gradle on PRs
on: pull-request on: pull_request
jobs: jobs:
gradle: gradle:
strategy: strategy: