mirror of
https://github.com/JetBrains/intellij-platform-plugin-template.git
synced 2024-10-27 20:44:05 +00:00
Update build.yml to trigger GHA checks only on pushes to main and PRs
Closes #112
This commit is contained in:
parent
18427cfdf7
commit
27a82938a7
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -14,7 +14,16 @@
|
||||
## JBIJPPTPL
|
||||
|
||||
name: Build
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
# Trigger the workflow on pushes to only the 'main' branch
|
||||
# (this avoids duplicate checks being run e.g. for dependabot pull requests)
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
# Trigger the workflow on any pull request
|
||||
pull_request:
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
# Run Gradle Wrapper Validation Action to verify the wrapper's checksum
|
||||
|
Loading…
Reference in New Issue
Block a user