Disable ci/cd on release* branches (#2624)
This commit is contained in:
parent
408edb3e99
commit
e42aec68c5
7
.github/workflows/build.yml
vendored
7
.github/workflows/build.yml
vendored
@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
- "release*"
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -19,7 +18,7 @@ jobs:
|
|||||||
runs-on: [self-hosted,FlipperZeroShell]
|
runs-on: [self-hosted,FlipperZeroShell]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout code'
|
- name: 'Checkout code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -167,7 +166,7 @@ jobs:
|
|||||||
target: [f7, f18]
|
target: [f7, f18]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout code'
|
- name: 'Checkout code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -207,7 +206,7 @@ jobs:
|
|||||||
cd testapp
|
cd testapp
|
||||||
ufbt create APPID=testapp
|
ufbt create APPID=testapp
|
||||||
ufbt
|
ufbt
|
||||||
|
|
||||||
- name: Build example & external apps with uFBT
|
- name: Build example & external apps with uFBT
|
||||||
run: |
|
run: |
|
||||||
for appdir in 'applications/external' 'applications/examples'; do
|
for appdir in 'applications/external' 'applications/examples'; do
|
||||||
|
|||||||
@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
- "release*"
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -19,7 +18,7 @@ jobs:
|
|||||||
runs-on: [self-hosted,FlipperZeroShell]
|
runs-on: [self-hosted,FlipperZeroShell]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout code'
|
- name: 'Checkout code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
@ -64,7 +63,7 @@ jobs:
|
|||||||
else
|
else
|
||||||
echo "Python Lint: all good ✨" >> $GITHUB_STEP_SUMMARY;
|
echo "Python Lint: all good ✨" >> $GITHUB_STEP_SUMMARY;
|
||||||
fi
|
fi
|
||||||
|
|
||||||
- name: 'Check C++ code formatting'
|
- name: 'Check C++ code formatting'
|
||||||
id: syntax_check_cpp
|
id: syntax_check_cpp
|
||||||
if: always()
|
if: always()
|
||||||
|
|||||||
2
.github/workflows/merge_report.yml
vendored
2
.github/workflows/merge_report.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: [self-hosted,FlipperZeroShell]
|
runs-on: [self-hosted,FlipperZeroShell]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout code'
|
- name: 'Checkout code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
3
.github/workflows/pvs_studio.yml
vendored
3
.github/workflows/pvs_studio.yml
vendored
@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- dev
|
- dev
|
||||||
- "release*"
|
|
||||||
tags:
|
tags:
|
||||||
- '*'
|
- '*'
|
||||||
pull_request:
|
pull_request:
|
||||||
@ -20,7 +19,7 @@ jobs:
|
|||||||
runs-on: [self-hosted, FlipperZeroShell]
|
runs-on: [self-hosted, FlipperZeroShell]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout code'
|
- name: 'Checkout code'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
2
.github/workflows/unit_tests.yml
vendored
2
.github/workflows/unit_tests.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
runs-on: [self-hosted, FlipperZeroUnitTest]
|
runs-on: [self-hosted, FlipperZeroUnitTest]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
6
.github/workflows/updater_test.yml
vendored
6
.github/workflows/updater_test.yml
vendored
@ -13,13 +13,13 @@ jobs:
|
|||||||
runs-on: [self-hosted, FlipperZeroUpdaterTest]
|
runs-on: [self-hosted, FlipperZeroUpdaterTest]
|
||||||
steps:
|
steps:
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
fetch-depth: 1
|
fetch-depth: 1
|
||||||
submodules: false
|
submodules: false
|
||||||
ref: ${{ github.event.pull_request.head.sha }}
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- name: 'Get flipper from device manager (mock)'
|
- name: 'Get flipper from device manager (mock)'
|
||||||
@ -50,7 +50,7 @@ jobs:
|
|||||||
echo "tag=$(git tag -l --sort=-version:refname | grep -v "rc\|RC" | head -1)" >> $GITHUB_OUTPUT
|
echo "tag=$(git tag -l --sort=-version:refname | grep -v "rc\|RC" | head -1)" >> $GITHUB_OUTPUT
|
||||||
|
|
||||||
- name: 'Wipe workspace'
|
- name: 'Wipe workspace'
|
||||||
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
run: find ./ -mount -maxdepth 1 -exec rm -rf {} \;
|
||||||
|
|
||||||
- name: 'Checkout latest release'
|
- name: 'Checkout latest release'
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user