Skip to content

Commit

Permalink
[FSSDK-10665] fix: Github Actions YAML files vulnerable to script inj…
Browse files Browse the repository at this point in the history
…ections corrected (#284)
  • Loading branch information
FarhanAnjum-opti authored Sep 25, 2024
1 parent 80e4d2c commit 1197fb2
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/integration_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,18 @@ jobs:
path: 'home/runner/travisci-tools'
ref: 'master'
- name: Set SDK branch if PR
env:
HEAD_REF: ${{ github.head_ref }}
if: ${{ github.event_name == 'pull_request' }}
run: |
echo "SDK_BRANCH=${{ github.head_ref }}" >> $GITHUB_ENV
echo "SDK_BRANCH=$HEAD_REF" >> $GITHUB_ENV
- name: Set SDK branch if not pull request
env:
REF_NAME: ${{ github.ref_name }}
if: ${{ github.event_name != 'pull_request' }}
run: |
echo "SDK_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
echo "TRAVIS_BRANCH=${{ github.ref_name }}" >> $GITHUB_ENV
echo "SDK_BRANCH=$REF_NAME" >> $GITHUB_ENV
echo "TRAVIS_BRANCH=$REF_NAME" >> $GITHUB_ENV
- name: Trigger build
env:
SDK: react
Expand Down

1 comment on commit 1197fb2

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Jest Coverage Report

St.
Category Percentage Covered / Total
🟢 Statements 98.95% 847/856
🟢 Branches 91.64% 340/371
🟢 Functions 97.52% 157/161
🟢 Lines 99.09% 765/772

Test suite run success

258 tests passing in 10 suites.

Report generated by 🧪jest coverage report action from 1197fb2

Please sign in to comment.