Skip to content

Commit b7ddaaa

Browse files
authored
feat: remove ESCU workflow and run unit tests before build (#163)
* feat: remove ESCU workflow, it has a separate repository * docs: update lint section * feat: update https://github.com/splunk/appinspect-cli-action to 1.9.0 * chore: update amannn/action-semantic-pull-request to 5.2.0 * chore: update docker/login-action to 2.2.0 * chore: update docker/metadata-action to 4.6.0 * chore: update aws-actions/configure-aws-credentials to v2 * chore: update renovate configuration * feat: run unit tests before build * fix: allow skipped unit tests job * style: rearrange the jobs * chore: remove validate-pr-title job * style: put run-unit-tests before build * fix: run all the jobs after build is successful * chore: virus total depends on the build * fix: try a fix for knowledge tests * fix: apply the skipped fix for all tests * fix: run artifact-registry * fix: run-scipted-input-* run condition * chore: fix typo * chore: put back validate-pr-title job * ci: give additional permissions to update-semver job * feat: use splunk/appinspect-cli-action v1.9 BREAKING CHANGE: remove ESCU workflow and run unit tests before build
1 parent c8b8599 commit b7ddaaa

File tree

6 files changed

+176
-419
lines changed

6 files changed

+176
-419
lines changed

.github/workflows/agreements.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
call-workflow-agreements:
10-
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.3
10+
uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1
1111
permissions:
1212
actions: read
1313
contents: read

.github/workflows/build-test-release.yaml

Lines changed: 7 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
name: CI
2-
31
on:
42
workflow_dispatch:
53
push:
@@ -10,20 +8,19 @@ on:
108
- "v[0-9]+.[0-9]+.[0-9]+"
119
pull_request:
1210
branches: [main, develop]
11+
1312
permissions:
1413
contents: write
1514
packages: read
1615
pull-requests: read
1716
statuses: write
17+
1818
jobs:
1919
compliance-copyrights:
20-
name: Compliance Copyright Headers
2120
runs-on: ubuntu-latest
2221
steps:
23-
- name: Checkout
24-
uses: actions/checkout@v3
25-
- name: Check License Header
26-
uses: apache/skywalking-eyes@main
22+
- uses: actions/checkout@v3
23+
- uses: apache/[email protected]
2724
env:
2825
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2926

@@ -34,13 +31,11 @@ jobs:
3431
- uses: actions/setup-python@v4
3532
with:
3633
python-version: "3.7"
37-
- name: Install actionlint
38-
run: |
34+
- run: |
3935
bash <(curl https://raw.githubusercontent.com/rhysd/actionlint/v1.6.24/scripts/download-actionlint.bash)
4036
- uses: pre-commit/[email protected]
4137

4238
publish:
43-
name: Build Release
4439
needs:
4540
- compliance-copyrights
4641
- pre-commit
@@ -61,9 +56,10 @@ jobs:
6156
passphrase: ${{ secrets.SA_GPG_PASSPHRASE }}
6257

6358
update-semver:
64-
name: Move Respository semver tags
6559
if: startsWith(github.ref, 'refs/tags/v')
6660
needs: publish
61+
permissions:
62+
contents: write
6763
runs-on: ubuntu-latest
6864
steps:
6965
- uses: actions/checkout@v3

0 commit comments

Comments
 (0)