mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-06 11:18:54 -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:
parent
7f6418b18f
commit
7bee668888
14
.github/workflows/lint_python.yaml
vendored
14
.github/workflows/lint_python.yaml
vendored
@ -1,12 +1,22 @@
|
|||||||
name: Lint Python
|
name: Lint Python
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
repository_dispatch:
|
||||||
|
types:
|
||||||
|
- dispatched_test
|
||||||
|
|
||||||
|
env:
|
||||||
|
ref: ${{ github.event.client_payload.ref || '' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint_python:
|
lint_python:
|
||||||
name: Lint Python
|
name: Lint Python
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ env.ref }}
|
||||||
- uses: actions/setup-python@v1
|
- uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
python_version: "3.8"
|
python_version: "3.8"
|
||||||
|
|||||||
10
.github/workflows/publish_crowdin.yml
vendored
10
.github/workflows/publish_crowdin.yml
vendored
@ -37,12 +37,18 @@ jobs:
|
|||||||
- name: Create Pull Request
|
- name: Create Pull Request
|
||||||
uses: peter-evans/create-pull-request@v2
|
uses: peter-evans/create-pull-request@v2
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.cogcreators_bot_repo_scoped }}
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
commit-message: Automated Crowdin downstream
|
commit-message: Automated Crowdin downstream
|
||||||
committer: Cog-Creators Bot <51291613+Cog-CreatorsBot@users.noreply.github.com>
|
|
||||||
title: "[i18n] Automated Crowdin downstream"
|
title: "[i18n] Automated Crowdin downstream"
|
||||||
body: |
|
body: |
|
||||||
This is an automated PR.
|
This is an automated PR.
|
||||||
Please ensure that there are no errors or invalid files are in the PR.
|
Please ensure that there are no errors or invalid files are in the PR.
|
||||||
labels: "Automated PR, Category: i18n"
|
labels: "Automated PR, Category: i18n"
|
||||||
branch: "automated/i18n"
|
branch: "automated/i18n"
|
||||||
|
- name: Repository Dispatch
|
||||||
|
uses: peter-evans/repository-dispatch@v1
|
||||||
|
with:
|
||||||
|
token: ${{ secrets.cogcreators_bot_repo_scoped }}
|
||||||
|
repository: Cog-Creators/Red-DiscordBot
|
||||||
|
event-type: dispatched_test
|
||||||
|
client-payload: '{"ref": "automated/i18n"}'
|
||||||
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@ -1,5 +1,13 @@
|
|||||||
name: Tests
|
name: Tests
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
pull_request:
|
||||||
|
push:
|
||||||
|
repository_dispatch:
|
||||||
|
types:
|
||||||
|
- dispatched_test
|
||||||
|
|
||||||
|
env:
|
||||||
|
ref: ${{ github.event.client_payload.ref || '' }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
tox:
|
tox:
|
||||||
@ -23,6 +31,8 @@ jobs:
|
|||||||
name: Tox - ${{ matrix.friendly_name }}
|
name: Tox - ${{ matrix.friendly_name }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ env.ref }}
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
@ -55,6 +65,8 @@ jobs:
|
|||||||
POSTGRES_USER: postgres
|
POSTGRES_USER: postgres
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref: ${{ env.ref }}
|
||||||
- name: Set up Python
|
- name: Set up Python
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v1
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user