ci: refactor workflow names
This commit is contained in:
6 files changed
+19
-14
No files matched your search
@@ -1,4 +1,4 @@
|
|||||||
name: Required Files Checker
|
name: File Checker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -6,14 +6,15 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
file-checker:
|
file-checker:
|
||||||
name: Check for Missing Files
|
name: Required Files Included
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Check
|
- name: Check Files
|
||||||
run: |
|
run: |
|
||||||
MISSING_FILES=0
|
MISSING_FILES=0
|
||||||
echo "# Missing Files Found 😠" >> $GITHUB_STEP_SUMMARY
|
echo "# Missing Files Found 😢" >> $GITHUB_STEP_SUMMARY
|
||||||
echo "" >> $GITHUB_STEP_SUMMARY
|
echo "" >> $GITHUB_STEP_SUMMARY
|
||||||
|
|
||||||
required_files=(
|
required_files=(
|
||||||
|
|||||||
@@ -7,6 +7,7 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
prettier:
|
prettier:
|
||||||
|
name: Format Code
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -15,8 +16,7 @@ jobs:
|
|||||||
token: ${{ github.ref == 'refs/heads/main' && secrets.USERSTYLES_TOKEN || github.token }}
|
token: ${{ github.ref == 'refs/heads/main' && secrets.USERSTYLES_TOKEN || github.token }}
|
||||||
# Make sure the actual branch is checked out when running on pull requests
|
# Make sure the actual branch is checked out when running on pull requests
|
||||||
ref: ${{ github.head_ref }}
|
ref: ${{ github.head_ref }}
|
||||||
|
- name: Run Prettier
|
||||||
- name: Run prettier
|
|
||||||
uses: creyD/[email protected]
|
uses: creyD/[email protected]
|
||||||
with:
|
with:
|
||||||
commit_options: "--author 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'"
|
commit_options: "--author 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'"
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
name: Generate Health Files
|
name: File Generator
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
@@ -12,7 +12,8 @@ env:
|
|||||||
jobs:
|
jobs:
|
||||||
generate-health-files:
|
generate-health-files:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
name: Re-generate README, CODEOWNERS, pr-labeler.yml & issue-labeler.yml
|
name: Generate Health Files
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
@@ -30,7 +31,7 @@ jobs:
|
|||||||
key: ${{ hashFiles('src/generate/deno.lock') }}
|
key: ${{ hashFiles('src/generate/deno.lock') }}
|
||||||
path: ${{ env.DENO_DIR }}
|
path: ${{ env.DENO_DIR }}
|
||||||
|
|
||||||
- name: Update README, CODEOWNERS, pr-labeler.yml & issue-labeler.yml
|
- name: Update Health Files
|
||||||
working-directory: src/generate
|
working-directory: src/generate
|
||||||
run: ./generate.ts
|
run: ./generate.ts
|
||||||
|
|
||||||
|
|||||||
@@ -7,7 +7,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
triage:
|
triage:
|
||||||
|
name: Add Labels
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: github/[email protected]
|
- uses: github/[email protected]
|
||||||
with:
|
with:
|
||||||
@@ -16,4 +18,4 @@ jobs:
|
|||||||
enable-versioned-regex: 0
|
enable-versioned-regex: 0
|
||||||
include-title: 1
|
include-title: 1
|
||||||
sync-labels: 1
|
sync-labels: 1
|
||||||
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
||||||
@@ -5,7 +5,9 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
triage:
|
triage:
|
||||||
|
name: Add Labels
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/[email protected]
|
- uses: actions/[email protected]
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
name: Typos
|
name: Typo Checker
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
push:
|
||||||
@@ -10,9 +11,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Actions Repository
|
- uses: actions/checkout@v3
|
||||||
uses: actions/checkout@v3
|
|
||||||
|
|
||||||
- uses: crate-ci/typos@master
|
- uses: crate-ci/typos@master
|
||||||
id: typos
|
id: typos
|
||||||
continue-on-error: true
|
continue-on-error: true
|
||||||
|
|||||||
Reference in new issue
Block a user