File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}"
Original file line number Diff line number Diff line change 1919 types : [published]
2020
2121jobs :
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 }}
Original file line number Diff line number Diff line change 1919 types: [published]
2020
2121jobs:
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 }}
Original file line number Diff line number Diff line change 1919 types : [published]
2020
2121jobs :
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
Original file line number Diff line number Diff line change 66 types : [published, edited]
77
88jobs :
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
You can’t perform that action at this time.
0 commit comments