Skip to content

Commit d174cf3

Browse files
authored
chore: minor clean ups (#383)
1 parent 0d3ac64 commit d174cf3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+145
-396
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

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

Lines changed: 14 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ jobs:
1818
outputs:
1919
matrix_supportedSplunk: ${{ steps.matrix.outputs.supportedSplunk }}
2020
steps:
21-
- uses: actions/checkout@v3
21+
- uses: actions/checkout@v4
2222
- id: matrix
2323
uses: splunk/addonfactory-test-matrix-action@v1
2424

2525
fossa-scan:
2626
continue-on-error: true
2727
runs-on: ubuntu-latest
2828
steps:
29-
- uses: actions/checkout@v3
29+
- uses: actions/checkout@v4
3030
- run: |
3131
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
3232
fossa analyze --debug
@@ -45,13 +45,13 @@ jobs:
4545
compliance-copyrights:
4646
runs-on: ubuntu-latest
4747
steps:
48-
- uses: actions/checkout@v3
49-
- uses: apache/skywalking-eyes@v0.4.0
48+
- uses: actions/checkout@v4
49+
- uses: apache/skywalking-eyes@v0.5.0
5050

5151
pre-commit:
5252
runs-on: ubuntu-latest
5353
steps:
54-
- uses: actions/checkout@v3
54+
- uses: actions/checkout@v4
5555
- uses: actions/setup-python@v4
5656
with:
5757
python-version: "3.7"
@@ -60,9 +60,8 @@ jobs:
6060
semgrep:
6161
runs-on: ubuntu-latest
6262
name: security-sast-semgrep
63-
if: github.actor != 'dependabot[bot]'
6463
steps:
65-
- uses: actions/checkout@v3
64+
- uses: actions/checkout@v4
6665
- id: semgrep
6766
uses: returntocorp/semgrep-action@v1
6867
with:
@@ -71,18 +70,15 @@ jobs:
7170
run-unit-tests:
7271
runs-on: ubuntu-latest
7372
steps:
74-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7574
with:
7675
submodules: true
77-
- name: Set up Python
78-
uses: actions/setup-python@v4
76+
- uses: actions/setup-python@v4
7977
with:
8078
python-version: 3.7
81-
- name: Install dependencies
82-
run: |
79+
- run: |
8380
curl -sSL https://install.python-poetry.org | python3 - --version 1.4.2
84-
- name: Test with pytest
85-
run: |
81+
- run: |
8682
poetry install
8783
poetry run pytest -v tests/unit
8884
@@ -95,11 +91,10 @@ jobs:
9591
- pre-commit
9692
- run-unit-tests
9793
steps:
98-
- uses: actions/checkout@v3
94+
- uses: actions/checkout@v4
9995
with:
10096
persist-credentials: false
101-
- name: Setup python
102-
uses: actions/setup-python@v4
97+
- uses: actions/setup-python@v4
10398
with:
10499
python-version: 3.7
105100
- name: Install tools
@@ -160,7 +155,7 @@ jobs:
160155
"test_splunk_ta_example_addon_alert_actions"
161156
]
162157
steps:
163-
- uses: actions/checkout@v3
158+
- uses: actions/checkout@v4
164159
with:
165160
submodules: recursive
166161
- uses: actions/download-artifact@v3
@@ -251,7 +246,7 @@ jobs:
251246
- run-unit-tests
252247
runs-on: ubuntu-latest
253248
steps:
254-
- uses: actions/checkout@v3
249+
- uses: actions/checkout@v4
255250
with:
256251
submodules: false
257252
persist-credentials: false

.licenserc.yaml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright 2021 Splunk Inc.
2+
# Copyright 2023 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,
@@ -21,7 +21,6 @@ header:
2121
paths-ignore:
2222
- ".github/"
2323
- ".vscode/"
24-
- ".reuse/"
2524
- "dist"
2625
- "**/*.md"
2726
- "LICENSE"
@@ -30,5 +29,4 @@ header:
3029
- "tests/**"
3130
- ".*"
3231
- "docs/**"
33-
34-
comment: on-failure
32+
- "renovate.json"

.releaserc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright 2021 Splunk Inc.
2+
# Copyright 2023 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,

Dockerfile-saucelabs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright 2021 Splunk Inc.
2+
# Copyright 2023 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,

Dockerfile-splunk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright 2021 Splunk Inc.
2+
# Copyright 2023 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,

Dockerfile-tests

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
#
2-
# Copyright 2021 Splunk Inc.
2+
# Copyright 2023 Splunk Inc.
33
#
44
# Licensed under the Apache License, Version 2.0 (the "License");
55
# you may not use this file except in compliance with the License.
66
# You may obtain a copy of the License at
77
#
8-
# http://www.apache.org/licenses/LICENSE-2.0
8+
# http://www.apache.org/licenses/LICENSE-2.0
99
#
1010
# Unless required by applicable law or agreed to in writing, software
1111
# distributed under the License is distributed on an "AS IS" BASIS,

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@
186186
same "printed page" as the copyright notice for easier
187187
identification within third-party archives.
188188

189-
Copyright [yyyy] [name of copyright owner]
189+
Copyright 2023 Splunk Inc.
190190

191191
Licensed under the Apache License, Version 2.0 (the "License");
192192
you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)