Open
Conversation
edro15
requested changes
Mar 17, 2026
Comment on lines
+4
to
+5
| push: | ||
| workflow_dispatch: |
Collaborator
There was a problem hiding this comment.
Suggested change
| push: | |
| workflow_dispatch: | |
| workflow_call: | |
| inputs: | |
| addon_name: | |
| required: true | |
| type: string |
To enable trigger from another workflow and pass the TA name
| SPLUNK_PASSWORD: password | ||
| SPLUNK_USER: admin | ||
| # Set this to your actual TA folder/app name (must match the folder name under etc/apps) | ||
| TA_NAME: TA-your_addon_name |
Collaborator
There was a problem hiding this comment.
Suggested change
| TA_NAME: TA-your_addon_name | |
| TA_NAME: ${{ inputs.addon_name }} | |
| permissions: | |
| contents: read # to successfully checkout repo |
| test-ta-install: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 |
Collaborator
There was a problem hiding this comment.
Suggested change
| - uses: actions/checkout@v4 | |
| - uses: actions/checkout@v6 |
| - name: Start Splunk (Docker) | ||
| run: | | ||
| docker run -d --name splunk \ | ||
| -e SPLUNK_START_ARGS="--accept-license" \ |
Collaborator
There was a problem hiding this comment.
Suggested change
| -e SPLUNK_START_ARGS="--accept-license" \ | |
| -e SPLUNK_START_ARGS="--answer-yes --no-prompt --accept-license" \ | |
| -e SPLUNK_GENERAL_TERMS: "--accept-sgt-current-at-splunk-com" \ |
This should also fix the error in the automation execution.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
👉 Please ensure your pull request (PR) adheres to our Contribution Guidelines 👈
Pull Request Checklist
Please check if your PR fulfills the following requirements:
docs/readme.mdhas been reviewed and updated if needed (for bug fixes / features)mainbranch of the forked repo. Create separate feature branch for raising the PRPull Request Type
Please check the type of change your PR introduces:
Security Considerations (REQUIRED)
docs/readme.mdall methods (eg, OAuth) used to authenticatewith the service that the add-on is integrating with
Release Notes (REQUIRED)
Added a new workflow for automated testing of ta install
What is the current behavior? (OPTIONAL)
What is the new behavior? (OPTIONAL)
Other information (OPTIONAL)
Pay close attention to (OPTIONAL)
Screenshots (if relevant)
Thanks for contributing! ❤️