mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-05 17:02:32 -05:00
[CI] Stop messing with our contributor data with automated PRs (#3534)
* CC: Kowlin * *sigh* * Their own docs said that was allowed in expressions... * python linting needs it too * Quit with the dumb * whoops
This commit is contained in:
14
.github/workflows/lint_python.yaml
vendored
14
.github/workflows/lint_python.yaml
vendored
@@ -1,12 +1,22 @@
|
||||
name: Lint Python
|
||||
on: [push, pull_request]
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
repository_dispatch:
|
||||
types:
|
||||
- dispatched_test
|
||||
|
||||
env:
|
||||
ref: ${{ github.event.client_payload.ref || '' }}
|
||||
|
||||
jobs:
|
||||
lint_python:
|
||||
name: Lint Python
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ env.ref }}
|
||||
- uses: actions/setup-python@v1
|
||||
with:
|
||||
python_version: "3.8"
|
||||
|
||||
Reference in New Issue
Block a user