mirror of
https://github.com/kdeldycke/awesome-falsehood.git
synced 2024-12-18 12:08:24 -05:00
Reuse some external workflows.
This commit is contained in:
parent
e29cc1c66d
commit
82febc993a
8 changed files with 63 additions and 109 deletions
5
.github/dependabot.yaml
vendored
5
.github/dependabot.yaml
vendored
|
@ -1,4 +1,5 @@
|
|||
# https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
|
||||
# https://docs.github.com/en/github/administering-a-repository
|
||||
# /configuration-options-for-dependency-updates
|
||||
---
|
||||
version: 2
|
||||
updates:
|
||||
|
@ -8,6 +9,6 @@ updates:
|
|||
schedule:
|
||||
interval: "daily"
|
||||
labels:
|
||||
- "CI/CD"
|
||||
- "📦 dependencies"
|
||||
assignees:
|
||||
- "kdeldycke"
|
||||
|
|
22
.github/labels-extra.json
vendored
Normal file
22
.github/labels-extra.json
vendored
Normal file
|
@ -0,0 +1,22 @@
|
|||
[
|
||||
{
|
||||
"name": "curation",
|
||||
"color": "#d73a4a",
|
||||
"description": "Links or structure needs to be refined"
|
||||
},
|
||||
{
|
||||
"name": "new link",
|
||||
"color": "#fbca04",
|
||||
"description": "A link worth adding to the list"
|
||||
},
|
||||
{
|
||||
"name": "fix link",
|
||||
"color": "#d4c5f9",
|
||||
"description": "Existing link need to be updated"
|
||||
},
|
||||
{
|
||||
"name": "typo",
|
||||
"color": "#fef2c0",
|
||||
"description": "Tiny, obvious fix"
|
||||
}
|
||||
]
|
57
.github/labels.json
vendored
57
.github/labels.json
vendored
|
@ -1,57 +0,0 @@
|
|||
[
|
||||
{
|
||||
"name": "CI/CD",
|
||||
"color": "#dbca13",
|
||||
"description": "Automation and management of the project itself"
|
||||
},
|
||||
{
|
||||
"name": "curation",
|
||||
"color": "#d73a4a",
|
||||
"description": "Links or structure needs to be refined"
|
||||
},
|
||||
{
|
||||
"name": "duplicate",
|
||||
"color": "#cfd3d7",
|
||||
"description": "This issue or pull request already exists"
|
||||
},
|
||||
{
|
||||
"name": "enhancement",
|
||||
"color": "#84b6eb",
|
||||
"description": "New feature or request"
|
||||
},
|
||||
{
|
||||
"name": "good first issue",
|
||||
"color": "#7057ff",
|
||||
"description": "Good for newcomers"
|
||||
},
|
||||
{
|
||||
"name": "help wanted",
|
||||
"color": "#008672",
|
||||
"description": "Extra attention is needed"
|
||||
},
|
||||
{
|
||||
"name": "new link",
|
||||
"color": "#fbca04",
|
||||
"description": "A link worth adding to the list"
|
||||
},
|
||||
{
|
||||
"name": "fix link",
|
||||
"color": "#d4c5f9",
|
||||
"description": "Existing link need to be updated"
|
||||
},
|
||||
{
|
||||
"name": "question",
|
||||
"color": "#d876e3",
|
||||
"description": "Further information is requested"
|
||||
},
|
||||
{
|
||||
"name": "typo",
|
||||
"color": "#fef2c0",
|
||||
"description": "Tiny, obvious fix"
|
||||
},
|
||||
{
|
||||
"name": "wont do/fix",
|
||||
"color": "#eeeeee",
|
||||
"description": "This will not be worked on"
|
||||
}
|
||||
]
|
21
.github/workflows/autolock.yaml
vendored
21
.github/workflows/autolock.yaml
vendored
|
@ -1,5 +1,3 @@
|
|||
# Locks closed issues and pull requests after a period of inactivity, to
|
||||
# prevent spam and noise.
|
||||
---
|
||||
name: Autolock
|
||||
"on":
|
||||
|
@ -8,19 +6,6 @@ name: Autolock
|
|||
- cron: "43 8 * * 1"
|
||||
|
||||
jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: dessant/lock-threads@v3.0.0
|
||||
with:
|
||||
# Lock down after 3 months.
|
||||
issue-inactive-days: '90'
|
||||
issue-comment: >
|
||||
This issue has been automatically locked since there
|
||||
has not been any recent activity after it was closed.
|
||||
Please open a new issue for related bugs.
|
||||
pr-inactive-days: '90'
|
||||
pr-comment: >
|
||||
This pull request has been automatically locked since there
|
||||
has not been any recent activity after it was closed.
|
||||
Please open a new issue for related bugs.
|
||||
|
||||
autolock:
|
||||
uses: kdeldycke/workflows/.github/workflows/autolock.yaml@v0.9.1
|
||||
|
|
14
.github/workflows/label-sponsors.yaml
vendored
Normal file
14
.github/workflows/label-sponsors.yaml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
---
|
||||
name: Label sponsors
|
||||
"on":
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
|
||||
jobs:
|
||||
|
||||
label-sponsors:
|
||||
uses: kdeldycke/workflows/.github/workflows/label-sponsors.yaml@v0.9.1
|
15
.github/workflows/labels.yaml
vendored
Normal file
15
.github/workflows/labels.yaml
vendored
Normal file
|
@ -0,0 +1,15 @@
|
|||
---
|
||||
name: Labels
|
||||
"on":
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
|
||||
jobs:
|
||||
|
||||
labels:
|
||||
uses: kdeldycke/workflows/.github/workflows/labels.yaml@v0.9.1
|
||||
needs: generate-labels
|
||||
with:
|
||||
extra-label-files: |
|
||||
.github/labels-extra.json
|
14
.github/workflows/labels_sync.yaml
vendored
14
.github/workflows/labels_sync.yaml
vendored
|
@ -1,14 +0,0 @@
|
|||
---
|
||||
name: Sync labels
|
||||
"on": issues
|
||||
|
||||
jobs:
|
||||
|
||||
sync_labels:
|
||||
name: Sync labels
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: lannonbr/issue-label-manager-action@3.0.0
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
24
.github/workflows/lint.yaml
vendored
24
.github/workflows/lint.yaml
vendored
|
@ -2,10 +2,12 @@
|
|||
name: Lint
|
||||
"on":
|
||||
push:
|
||||
pull_request:
|
||||
schedule:
|
||||
# Run linter every week to catch regressions from external dependencies.
|
||||
- cron: 17 9 * * 1
|
||||
|
||||
jobs:
|
||||
|
||||
lint:
|
||||
uses: kdeldycke/workflows/.github/workflows/lint.yaml@v0.9.1
|
||||
|
||||
|
||||
jobs:
|
||||
|
||||
|
@ -30,17 +32,3 @@ jobs:
|
|||
- run: |
|
||||
npx awesome-lint --version
|
||||
npx awesome-lint
|
||||
|
||||
lint-yaml:
|
||||
name: Lint YAML files
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- uses: actions/setup-python@v2.3.1
|
||||
- name: Install linter
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install yamllint
|
||||
- name: Lint
|
||||
run: |
|
||||
yamllint .
|
||||
|
|
Loading…
Reference in a new issue