Skip to content

Skip unit tests run from forks - #88

Merged
SanjulaGanepola merged 1 commit into
mainfrom
fix/test-from-forks
Jul 17, 2026
Merged

Skip unit tests run from forks#88
SanjulaGanepola merged 1 commit into
mainfrom
fix/test-from-forks

Conversation

@SanjulaGanepola

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Sanjula Ganepola <Sanjula.Ganepola@ibm.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Snapshot Warnings

⚠️: No snapshots were found for the head SHA 32616ee.
Ensure that dependencies are being submitted on PR branches and consider enabling retry-on-snapshot-warnings. See the documentation for more information and troubleshooting advice.

Scanned Files

None

Comment on lines +18 to +45
runs-on: ubuntu-latest

environment: OSSBUILD

steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Set up JDK 8
uses: actions/setup-java@v4
with:
java-version: '8'
distribution: 'temurin'
cache: maven

- name: Set Test Secrets
if: contains(env.IBMI_HOST, '.')
run: |
cp ${{ env.CONFIG_PROPERTIES_SAMPLE }} ${{ env.CONFIG_PROPERTIES }}
sed -i "s/^IBMI_HOST=/IBMI_HOST=$IBMI_HOST/" ${{ env.CONFIG_PROPERTIES }}
sed -i "s/^IBMI_USER=/IBMI_USER=$IBMI_USER/" ${{ env.CONFIG_PROPERTIES }}
sed -i "s/^IBMI_PASSWORD=/IBMI_PASSWORD=$IBMI_PASSWORD/" ${{ env.CONFIG_PROPERTIES }}
sed -i "s/^IBMI_PORT=/IBMI_PORT=$IBMI_PORT/" ${{ env.CONFIG_PROPERTIES }}
env:
IBMI_HOST: ${{ secrets.IBMI_HOST }}
IBMI_USER: ${{ secrets.IBMI_USER }}
IBMI_PASSWORD: ${{ secrets.IBMI_PASSWORD }}
IBMI_PORT: ${{ secrets.IBMI_PORT }}
@SanjulaGanepola
SanjulaGanepola merged commit e3af1ec into main Jul 17, 2026
5 checks passed
@SanjulaGanepola
SanjulaGanepola deleted the fix/test-from-forks branch July 17, 2026 16:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants