ci: refactor workflow names
This commit is contained in:
parent
c3fb1cae08
commit
4c32951b4c
9
.github/workflows/file-checker.yml
vendored
9
.github/workflows/file-checker.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Required Files Checker
|
||||
name: File Checker
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -6,14 +6,15 @@ on:
|
||||
|
||||
jobs:
|
||||
file-checker:
|
||||
name: Check for Missing Files
|
||||
name: Required Files Included
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Check
|
||||
- name: Check Files
|
||||
run: |
|
||||
MISSING_FILES=0
|
||||
echo "# Missing Files Found 😠" >> $GITHUB_STEP_SUMMARY
|
||||
echo "# Missing Files Found 😢" >> $GITHUB_STEP_SUMMARY
|
||||
echo "" >> $GITHUB_STEP_SUMMARY
|
||||
|
||||
required_files=(
|
||||
|
4
.github/workflows/format.yml
vendored
4
.github/workflows/format.yml
vendored
@ -7,6 +7,7 @@ on:
|
||||
|
||||
jobs:
|
||||
prettier:
|
||||
name: Format Code
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
@ -15,8 +16,7 @@ jobs:
|
||||
token: ${{ github.ref == 'refs/heads/main' && secrets.USERSTYLES_TOKEN || github.token }}
|
||||
# Make sure the actual branch is checked out when running on pull requests
|
||||
ref: ${{ github.head_ref }}
|
||||
|
||||
- name: Run prettier
|
||||
- name: Run Prettier
|
||||
uses: creyD/prettier_action@v4.3
|
||||
with:
|
||||
commit_options: "--author 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'"
|
||||
|
7
.github/workflows/generate.yml
vendored
7
.github/workflows/generate.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: Generate Health Files
|
||||
name: File Generator
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
@ -12,7 +12,8 @@ env:
|
||||
jobs:
|
||||
generate-health-files:
|
||||
runs-on: ubuntu-latest
|
||||
name: Re-generate README, CODEOWNERS, pr-labeler.yml & issue-labeler.yml
|
||||
name: Generate Health Files
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
@ -30,7 +31,7 @@ jobs:
|
||||
key: ${{ hashFiles('src/generate/deno.lock') }}
|
||||
path: ${{ env.DENO_DIR }}
|
||||
|
||||
- name: Update README, CODEOWNERS, pr-labeler.yml & issue-labeler.yml
|
||||
- name: Update Health Files
|
||||
working-directory: src/generate
|
||||
run: ./generate.ts
|
||||
|
||||
|
2
.github/workflows/issues.yml
vendored
2
.github/workflows/issues.yml
vendored
@ -7,7 +7,9 @@ on:
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
name: Add Labels
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: github/issue-labeler@v3.1
|
||||
with:
|
||||
|
2
.github/workflows/pull-requests.yml
vendored
2
.github/workflows/pull-requests.yml
vendored
@ -5,7 +5,9 @@ on:
|
||||
|
||||
jobs:
|
||||
triage:
|
||||
name: Add Labels
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/labeler@v4.0.3
|
||||
|
7
.github/workflows/typos.yml
vendored
7
.github/workflows/typos.yml
vendored
@ -1,4 +1,5 @@
|
||||
name: Typos
|
||||
name: Typo Checker
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
@ -10,9 +11,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout Actions Repository
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- uses: actions/checkout@v3
|
||||
- uses: crate-ci/typos@master
|
||||
id: typos
|
||||
continue-on-error: true
|
||||
|
Loading…
x
Reference in New Issue
Block a user