Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix potential github action smells #2677

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
yanglbme merged 2 commits into doocs:main from ceddy4395:fix-gha-smells
Apr 28, 2024
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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
View file Open in desktop
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

AltStyle によって変換されたページ (->オリジナル) /