Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 26 additions & 2 deletions .github/workflows/black-lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
name: black-linter

on:
push: {}
pull_request: {}
push:
paths:
- package.json
- requirements.txt
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
pull_request:
paths:
- package.json
- requirements.txt
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
build:
Expand Down
28 changes: 26 additions & 2 deletions .github/workflows/clang-format-lint.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,32 @@
name: clang-format-linter

on:
push: {}
pull_request: {}
push:
paths:
- package.json
- requirements.txt
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
pull_request:
paths:
- package.json
- requirements.txt
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
build:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/compress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ on:
workflow_dispatch:
schedule:
- cron: '00 23 * * 0'

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
build:
name: calibreapp/image-actions
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,16 @@ on:
branches:
- main
- docs
paths:
- package.json
- requirements.txt
- solution/**
- lcs/**
- lcp/**
- lcof2/**
- lcof/**
- lcci/**
- basic/**
workflow_dispatch:

env:
Expand All @@ -13,9 +23,14 @@ env:
permissions:
contents: write

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'doocs/leetcode'
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-add-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

concurrency:
group: ${{github.workflow}} - ${{github.event_name}}
cancel-in-progress: true

jobs:
add-label:
permissions:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/pr-checker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request_target:
types: [opened]

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prettier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ on:
pull_request_target:
types: [opened, edited, reopened, synchronize]

concurrency:
group: ${{github.workflow}} - ${{github.ref}}
cancel-in-progress: true

jobs:
format:
permissions:
Expand Down