Skip to content

Commit f01bc00

Browse files
committed
chore(ci): remove useless code and update create-pull-request
1 parent c0000f4 commit f01bc00

5 files changed

Lines changed: 1 addition & 73 deletions

File tree

.github/workflows/check_format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
run: git diff --exit-code HEAD
1919
- name: Create Pull Request
2020
if: failure()
21-
uses: peter-evans/create-pull-request@v3
21+
uses: peter-evans/create-pull-request@v8
2222
with:
2323
commit-message: "style: format codes"
2424
title: "Format codes for ${{ github.ref }}"

.github/workflows/cpack-deb-debian.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,33 +19,13 @@ on:
1919
types: [published]
2020

2121
jobs:
22-
check_commit_msg:
23-
outputs:
24-
commit_message: ${{ steps.get_message.outputs.message }}
25-
name: Check if the workflow has been disabled.
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v4
29-
- name: Get commit message
30-
id: get_message
31-
env:
32-
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.after || github.sha }}
33-
run: |
34-
msg="$(git log --format=%B -n 1 "${COMMIT_SHA}")"
35-
{
36-
echo "message<<EOF"
37-
echo "${msg}"
38-
echo "EOF"
39-
} >> "${GITHUB_OUTPUT}"
4022
linux:
4123
strategy:
4224
fail-fast: false
4325
matrix:
4426
#distro: [stable, testing, sid]
4527
build_type: [Release, RelWithDebInfo]
4628
distro: [testing, sid]
47-
needs: check_commit_msg
48-
if: ${{ !contains( needs.check_commit_msg.outputs.commit_message, 'NO_DEB') }}
4929
name: Debian ${{ matrix.distro }}
5030
runs-on: ubuntu-latest
5131
container: debian:${{ matrix.distro }}

.github/workflows/cpack-deb-ubuntu.yml.bak

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,13 @@ on:
1919
types: [published]
2020

2121
jobs:
22-
check_commit_msg:
23-
outputs:
24-
commit_message: ${{ steps.get_message.outputs.message }}
25-
name: Check if the workflow has been disabled.
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v4
29-
- name: Get commit message
30-
id: get_message
31-
run: |
32-
echo "message=$(git log --format=%B -n 1 ${{ github.event.after }})" >> $GITHUB_OUTPUT
3322
linux:
3423
strategy:
3524
fail-fast: false
3625
matrix:
3726
distro: [20.04]
3827
build_type: [Release, RelWithDebInfo]
3928
#arch: [x86, x64]
40-
needs: check_commit_msg
41-
if: ${{ !contains( needs.check_commit_msg.outputs.commit_message, 'NO_DEB') }}
4229
name: Ubuntu ${{ matrix.distro }}
4330
runs-on: ubuntu-latest
4431
container: ubuntu:${{ matrix.distro }}

.github/workflows/linux-static-qt6.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -19,32 +19,12 @@ on:
1919
types: [published]
2020

2121
jobs:
22-
check_commit_msg:
23-
outputs:
24-
commit_message: ${{ steps.get_message.outputs.message }}
25-
name: Check if the workflow has been disabled.
26-
runs-on: ubuntu-latest
27-
steps:
28-
- uses: actions/checkout@v4
29-
- name: Get commit message
30-
id: get_message
31-
env:
32-
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.after || github.sha }}
33-
run: |
34-
msg="$(git log --format=%B -n 1 "${COMMIT_SHA}")"
35-
{
36-
echo "message<<EOF"
37-
echo "${msg}"
38-
echo "EOF"
39-
} >> "${GITHUB_OUTPUT}"
4022
linux:
4123
strategy:
4224
fail-fast: false
4325
matrix:
4426
build_type: [Release, RelWithDebInfo]
4527

46-
needs: check_commit_msg
47-
if: ${{ !contains( needs.check_commit_msg.outputs.commit_message, 'NO_DEB') }}
4828
name: Linux Static ${{ matrix.build_type }}
4929
runs-on: ubuntu-latest
5030
container: ubuntu:20.04

.github/workflows/sourcefile.yml

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,26 +6,7 @@ on:
66
types: [published, edited]
77

88
jobs:
9-
check_commit_msg:
10-
outputs:
11-
commit_message: ${{ steps.get_message.outputs.message }}
12-
name: Check if the workflow has been disabled.
13-
runs-on: ubuntu-latest
14-
steps:
15-
- uses: actions/checkout@v4
16-
- name: Get commit message
17-
id: get_message
18-
env:
19-
COMMIT_SHA: ${{ github.event.pull_request.head.sha || github.event.after || github.sha }}
20-
run: |
21-
msg="$(git log --format=%B -n 1 "${COMMIT_SHA}")"
22-
{
23-
echo "message<<EOF"
24-
echo "${msg}"
25-
echo "EOF"
26-
} >> "${GITHUB_OUTPUT}"
279
linux:
28-
needs: check_commit_msg
2910
name: All Source Files
3011
runs-on: ubuntu-latest
3112

0 commit comments

Comments
 (0)