Skip to content

Commit 6871622

Browse files
Merge pull request #206 from technote-space/chore/chore-sync-workflows
chore: sync workflows
2 parents 0c49853 + e936560 commit 6871622

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.github/labeler.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ php:
66
- '**/*.php'
77
python:
88
- '**/*.py'
9+
cpp:
10+
- '**/*.cpp'
11+
- '**/*.cxx'
12+
- '**/*.cc'
13+
- '**/*.cp'
914

1015
'Type: Testing':
1116
- '**/tests/*'

.github/workflows/pr-updated.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,9 @@ jobs:
6363
echo "::set-env name=RUNNING::"
6464
fi
6565
66+
- name: Sort
67+
run: npx sort-package-json
68+
if: env.RUNNING
6669
- name: Get version
6770
uses: technote-space/get-next-version-action@v1
6871
with:

.github/workflows/update-dependencies.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ jobs:
5757
if [[ ! -f package.json ]] || [[ $(< package.json jq -r '.version == null') == 'true' ]]; then
5858
echo "::set-env name=RUNNING2::"
5959
fi
60+
- name: Sort
61+
run: npx sort-package-json
62+
if: env.RUNNING2
6063
- name: Get version
6164
uses: technote-space/get-next-version-action@v1
6265
with:

0 commit comments

Comments
 (0)