Only build dist when code is merged into Adafruit
This commit is contained in:
parent
218480db90
commit
6d8fea53dc
1 changed files with 5 additions and 1 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
|
@ -1,10 +1,14 @@
|
|||
name: Build Distribution Files
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# Only run the build on Adafruit's repository. It makes the PRs less messy.
|
||||
if: startswith(github.repository, 'adafruit/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
|
|
|
|||
Loading…
Reference in a new issue