Skip to content

Commit

Permalink
style.yml: Don't run this on branch pushes
Browse files Browse the repository at this point in the history
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
  • Loading branch information
bsdimp authored and bsdjhb committed Mar 14, 2024
2 parents 6ba49d4 + e5b33e6 commit 2a754a3
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 ]
Expand All @@ -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
Expand Down

0 comments on commit 2a754a3

Please sign in to comment.