mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-26 20:12:44 +00:00
style.yml: Don't run this on branch pushes
We don't need to run this on branch pushes, just pull requests. It's designed to be a gross filter for incoming commits, not something perfect we need to keep green. It also doesn't work quite right for branch pushes anyway and needs adjustment. Also remove some debugging information. We don't need it anymore. Noticed by: jrtc27 Sponsored by: Netflix
This commit is contained in:
parent
dbee52c9d6
commit
e5b33e6eef
6
.github/workflows/style.yml
vendored
6
.github/workflows/style.yml
vendored
@ -7,8 +7,6 @@ name: Style Checker
|
||||
# is proving elusive, so optimizations welcome.
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ main, 'stable/13', 'stable/14' ]
|
||||
pull_request: # maybe pull_request_target
|
||||
branches: [ main ]
|
||||
types: [ opened, reopened, edited ]
|
||||
@ -26,10 +24,6 @@ jobs:
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Dump GitHub context
|
||||
env:
|
||||
GITHUB_CONTEXT: ${{ toJson(github) }}
|
||||
run: echo "$GITHUB_CONTEXT"
|
||||
- name: Install packages
|
||||
run: |
|
||||
sudo apt-get update --quiet || true
|
||||
|
Loading…
Reference in New Issue
Block a user