mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-02-03 13:14:28 +03:00
Auto-format YAML in the .github folder
This commit is contained in:
parent
401b4a6f23
commit
6542067138
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
|
@ -9,4 +9,4 @@ community_bridge: # Replace with a single Community Bridge project-name e.g., cl
|
|||
liberapay: # Replace with a single Liberapay username
|
||||
issuehunt: # Replace with a single IssueHunt username
|
||||
otechie: # Replace with a single Otechie username
|
||||
custom: ['https://www.patreon.com/browniebroke']
|
||||
custom: ["https://www.patreon.com/browniebroke"]
|
||||
|
|
27
.github/workflows/django-issue-checker.yml
vendored
27
.github/workflows/django-issue-checker.yml
vendored
|
@ -5,24 +5,23 @@ name: Django Issue Checker
|
|||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "28 5 * * *"
|
||||
- cron: "28 5 * * *"
|
||||
# Manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
|
||||
jobs:
|
||||
issue-manager:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Create Django Major Issue
|
||||
run: python scripts/create_django_issue.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Create Django Major Issue
|
||||
run: python scripts/create_django_issue.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
72
.github/workflows/issue-manager.yml
vendored
72
.github/workflows/issue-manager.yml
vendored
|
@ -15,7 +15,7 @@ name: Issue Manager
|
|||
on:
|
||||
# Every day at midnight
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 0 * * *"
|
||||
# Manual trigger
|
||||
workflow_dispatch:
|
||||
|
||||
|
@ -23,40 +23,40 @@ jobs:
|
|||
issue-manager:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: tiangolo/issue-manager@0.4.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- uses: tiangolo/issue-manager@0.4.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
config: >
|
||||
{
|
||||
"answered": {
|
||||
"delay": 864000,
|
||||
"message": "Assuming the original issue was solved, it will be automatically closed now.",
|
||||
"users": [
|
||||
"pydanny",
|
||||
"audreyr",
|
||||
"luzfcb",
|
||||
"theskumar",
|
||||
"jayfk",
|
||||
"burhan",
|
||||
"webyneter",
|
||||
"browniebroke",
|
||||
"sfdye"
|
||||
]
|
||||
},
|
||||
"waiting": {
|
||||
"delay": 864000,
|
||||
"message": "Automatically closing. To re-open, please provide the additional information requested.",
|
||||
"users": [
|
||||
"pydanny",
|
||||
"audreyr",
|
||||
"luzfcb",
|
||||
"theskumar",
|
||||
"jayfk",
|
||||
"burhan",
|
||||
"webyneter",
|
||||
"browniebroke",
|
||||
"sfdye"
|
||||
]
|
||||
config: >
|
||||
{
|
||||
"answered": {
|
||||
"delay": 864000,
|
||||
"message": "Assuming the original issue was solved, it will be automatically closed now.",
|
||||
"users": [
|
||||
"pydanny",
|
||||
"audreyr",
|
||||
"luzfcb",
|
||||
"theskumar",
|
||||
"jayfk",
|
||||
"burhan",
|
||||
"webyneter",
|
||||
"browniebroke",
|
||||
"sfdye"
|
||||
]
|
||||
},
|
||||
"waiting": {
|
||||
"delay": 864000,
|
||||
"message": "Automatically closing. To re-open, please provide the additional information requested.",
|
||||
"users": [
|
||||
"pydanny",
|
||||
"audreyr",
|
||||
"luzfcb",
|
||||
"theskumar",
|
||||
"jayfk",
|
||||
"burhan",
|
||||
"webyneter",
|
||||
"browniebroke",
|
||||
"sfdye"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
39
.github/workflows/pre-commit-autoupdate.yml
vendored
39
.github/workflows/pre-commit-autoupdate.yml
vendored
|
@ -1,36 +1,35 @@
|
|||
# Run pre-commit autoupdate every day at midnight
|
||||
# and create a pull request if any changes
|
||||
|
||||
|
||||
name: Pre-commit auto-update
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
- cron: "0 0 * * *"
|
||||
workflow_dispatch: # to trigger manually
|
||||
|
||||
jobs:
|
||||
auto-update:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
|
||||
- name: Install pre-commit
|
||||
run: pip install pre-commit
|
||||
- name: Install pre-commit
|
||||
run: pip install pre-commit
|
||||
|
||||
- name: Run pre-commit autoupdate
|
||||
working-directory: "{{cookiecutter.project_slug}}"
|
||||
run: pre-commit autoupdate
|
||||
- name: Run pre-commit autoupdate
|
||||
working-directory: "{{cookiecutter.project_slug}}"
|
||||
run: pre-commit autoupdate
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3.11.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: update/pre-commit-autoupdate
|
||||
title: Auto-update pre-commit hooks
|
||||
commit-message: Auto-update pre-commit hooks
|
||||
body: Update versions of tools in pre-commit configs to latest version
|
||||
labels: update
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v3.11.0
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
branch: update/pre-commit-autoupdate
|
||||
title: Auto-update pre-commit hooks
|
||||
commit-message: Auto-update pre-commit hooks
|
||||
body: Update versions of tools in pre-commit configs to latest version
|
||||
labels: update
|
||||
|
|
34
.github/workflows/update-changelog.yml
vendored
34
.github/workflows/update-changelog.yml
vendored
|
@ -15,21 +15,21 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Set git details
|
||||
run: |
|
||||
git config --global user.name "github-actions"
|
||||
git config --global user.email "action@github.com"
|
||||
- name: Update list
|
||||
run: python scripts/update_changelog.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Set git details
|
||||
run: |
|
||||
git config --global user.name "github-actions"
|
||||
git config --global user.email "action@github.com"
|
||||
- name: Update list
|
||||
run: python scripts/update_changelog.py
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
|
32
.github/workflows/update-contributors.yml
vendored
32
.github/workflows/update-contributors.yml
vendored
|
@ -10,21 +10,21 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Update list
|
||||
run: python scripts/update_contributors.py
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: "3.9"
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
pip install -r requirements.txt
|
||||
- name: Update list
|
||||
run: python scripts/update_contributors.py
|
||||
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4.12.0
|
||||
with:
|
||||
commit_message: Update Contributors
|
||||
file_pattern: CONTRIBUTORS.md .github/contributors.json
|
||||
- name: Commit changes
|
||||
uses: stefanzweifel/git-auto-commit-action@v4.12.0
|
||||
with:
|
||||
commit_message: Update Contributors
|
||||
file_pattern: CONTRIBUTORS.md .github/contributors.json
|
||||
|
|
Loading…
Reference in New Issue
Block a user