Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
style: remove name from most workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcloud committed Jan 22, 2022
1 parent ea33b23 commit aeea0b1
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 41 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/auto-rebase.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ on:
- labeled

jobs:
auto-rebase:
name: AutoRebase
autorebase:
runs-on: ubuntu-latest
steps:
- uses: tibdex/github-app-token@v1
Expand Down
40 changes: 12 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: setup nodejs
uses: actions/setup-node@v2
- uses: actions/setup-node@v2
with:
node-version: 16

Expand All @@ -41,8 +39,7 @@ jobs:
repo: pre-commit-hooks.nix
owner: cachix
steps:
- name: checkout
uses: actions/checkout@v2
- uses: actions/checkout@v2

- name: test
uses: ./
Expand All @@ -62,38 +59,25 @@ jobs:
- build
- test
steps:
- name: Generate a GitHub token
uses: tibdex/github-app-token@v1
- uses: tibdex/github-app-token@v1
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: checkout
uses: actions/checkout@v2
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ steps.generate_token.outputs.token }}

- name: setup nodejs
uses: actions/setup-node@v2
- uses: actions/setup-node@v2
with:
node-version: 16

- name: install ci dependencies
run: npm ci

- name: install runtime dependencies
run: npm install

- name: build
run: npm run build

- name: package assets
run: npm run package

- name: release
run: npx semantic-release
- run: npm ci
- run: npm install
- run: npm run build
- run: npm run package
- run: npx semantic-release
env:
GIT_CREDENTIALS: ${{ steps.generate_token.outputs.token }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
16 changes: 5 additions & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "CodeQL"
name: CodeQL

on:
push:
Expand All @@ -17,7 +17,6 @@ concurrency:

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
Expand All @@ -31,17 +30,12 @@ jobs:
- javascript

steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/checkout@v2

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
- uses: github/codeql-action/init@v1
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v1
- uses: github/codeql-action/autobuild@v1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
- uses: github/codeql-action/analyze@v1

0 comments on commit aeea0b1

Please sign in to comment.