Skip to content

Commit

Permalink
chore: update paths to composite actions
Browse files Browse the repository at this point in the history
  • Loading branch information
mbruzda-splunk committed Dec 15, 2023
1 parent dde88d1 commit b64ea57
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/reusable-build-test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ jobs:
statuses: write
steps:
- name: Run title validation
uses: ./.github/actions/validate-pr-title
uses: splunk/addonfactory-workflow-addon-release/.github/actions/validate-pr-title
with:
GITHUB_TOKEN: ${{ github.token }}

Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
steps:
- name: Run meta preparation
id: meta
uses: ./.github/actions/meta
uses: splunk/addonfactory-workflow-addon-release/.github/actions/meta
with:
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
SA_GH_USER_EMAIL: ${{ secrets.SA_GH_USER_EMAIL }}
Expand All @@ -249,7 +249,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- name: Run FOSSA scan
uses: ./.github/actions/fossa-scan
uses: splunk/addonfactory-workflow-addon-release/.github/actions/fossa-scan
with:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

Expand All @@ -261,7 +261,7 @@ jobs:
- fossa-scan
steps:
- name: Run FOSSA test
uses: ./.github/actions/fossa-test
uses: splunk/addonfactory-workflow-addon-release/.github/actions/fossa-test
with:
FOSSA_API_KEY: ${{ secrets.FOSSA_API_KEY }}

Expand All @@ -273,7 +273,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- name: Run compliance copyrights
uses: ./.github/actions/compliance-copyrights
uses: splunk/addonfactory-workflow-addon-release/.github/actions/compliance-copyrights

lint:
name: Lint
Expand All @@ -283,7 +283,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- name: Run linting checks
uses: ./.github/actions/lint
uses: splunk/addonfactory-workflow-addon-release/.github/actions/lint

review-secrets:
name: Review secrets
Expand All @@ -293,7 +293,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- name: Run secrets review
uses: ./.github/actions/review-secrets
uses: splunk/addonfactory-workflow-addon-release/.github/actions/review-secrets

semgrep:
name: Semgrep security check
Expand All @@ -303,7 +303,7 @@ jobs:
if: ${{ needs.setup-workflow.outputs.skip-workflow != 'Yes' }}
steps:
- name: Run semgrep
uses: ./.github/actions/semgrep
uses: splunk/addonfactory-workflow-addon-release/.github/actions/semgrep
with:
SEMGREP_PUBLISH_TOKEN: ${{ secrets.SEMGREP_PUBLISH_TOKEN }}

Expand All @@ -325,7 +325,7 @@ jobs:
steps:
- name: Run test inventory check
id: test-inventory
uses: ./.github/actions/test-inventory
uses: splunk/addonfactory-workflow-addon-release/.github/actions/test-inventory

# Two separate unit test jobs needed as jobs that depend on unit-test success can't proceed
# if any matrix job fails. Currently python 3.9 may fail as it's not supported in all TAs.
Expand All @@ -347,7 +347,7 @@ jobs:
steps:
- name: Run unit tests for python 3.7
id: unit-tests-3_7
uses: ./.github/actions/unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/unit-tests
with:
python_version: '3.7'
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
Expand All @@ -369,7 +369,7 @@ jobs:
steps:
- name: Run unit tests for python 3.9
id: unit-tests-3_9
uses: ./.github/actions/unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/unit-tests
with:
python_version: '3.9'
GH_TOKEN_ADMIN: ${{ secrets.GH_TOKEN_ADMIN }}
Expand All @@ -394,7 +394,7 @@ jobs:
steps:
- name: Run build 3.7
id: build
uses: ./.github/actions/build
uses: splunk/addonfactory-workflow-addon-release/.github/actions/build
with:
python_version: "3.7"
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
Expand Down Expand Up @@ -424,7 +424,7 @@ jobs:
packages: read
steps:
- name: Run build 3.9
uses: ./.github/actions/build
uses: splunk/addonfactory-workflow-addon-release/.github/actions/build
with:
python_version: "3.9"
SA_GH_USER_NAME: ${{ secrets.SA_GH_USER_NAME }}
Expand All @@ -444,7 +444,7 @@ jobs:
if: ${{ !cancelled() && needs.build.result == 'success' }}
steps:
- name: Run VirusTotal check
uses: ./.github/actions/virustotal
uses: splunk/addonfactory-workflow-addon-release/.github/actions/virustotal
with:
VT_API_KEY: ${{ secrets.VT_API_KEY }}

Expand All @@ -464,7 +464,7 @@ jobs:
checks: write
steps:
- name: Run requirements unit tests
uses: ./.github/actions/requirements-unit-tests
uses: splunk/addonfactory-workflow-addon-release/.github/actions/requirements-unit-tests

appinspect-cli:
name: AppInspect CLI ${{ matrix.tags }}
Expand All @@ -485,7 +485,7 @@ jobs:
- "manual"
steps:
- name: Run appinspect CLI
uses: ./.github/actions/appinspect-cli
uses: splunk/addonfactory-workflow-addon-release/.github/actions/appinspect-cli
with:
matrix_tags: ${{ matrix.tags }}

Expand All @@ -504,7 +504,7 @@ jobs:
- "cloud"
steps:
- name: Run appinspect API
uses: ./.github/actions/appinspect-api
uses: splunk/addonfactory-workflow-addon-release/.github/actions/appinspect-api
with:
matrix_tags: ${{ matrix.tags }}
SPL_COM_USER: ${{ secrets.SPL_COM_USER }}
Expand All @@ -522,7 +522,7 @@ jobs:
packages: write
steps:
- name: Run artifact registry
uses: ./.github/actions/artifact-registry
uses: splunk/addonfactory-workflow-addon-release/.github/actions/artifact-registry
with:
sc4s: ${{ needs.meta.outputs.sc4s }}

Expand Down

0 comments on commit b64ea57

Please sign in to comment.