Skip to content

Commit

Permalink
Add dummy in github action token (#216)
Browse files Browse the repository at this point in the history
Signed-off-by: jiyeong.seok <[email protected]>
  • Loading branch information
dd-jy authored Aug 5, 2024
1 parent f04963f commit 25dd832
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,13 @@ jobs:
- name: Install Pod
working-directory: ./tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips
run: pod install --clean-install
- name: Set TOKEN Environment Variable
run: |
if [ -z "${{ secrets.TOKEN }}" ]; then
echo "TOKEN=dummy" >> $GITHUB_ENV
else
echo "TOKEN=${{ secrets.TOKEN }}" >> $GITHUB_ENV
fi
- name: Run Test
run: |
fosslight_dependency -p tests/test_pypi -o tests/result/pypi
Expand All @@ -78,10 +85,10 @@ jobs:
fosslight_dependency -p tests/test_gradle/jib -o tests/result/gradle
fosslight_dependency -p tests/test_pub -o tests/result/pub
fosslight_dependency -p tests/test_cocoapods/cocoapods-tips/JWSCocoapodsTips -o tests/result/Cocoapods
fosslight_dependency -p tests/test_swift -o tests/result/swift -t ${{ secrets.TOKEN }}
fosslight_dependency -p tests/test_swift2 -o tests/result/swift2 -t ${{ secrets.TOKEN }}
fosslight_dependency -p tests/test_swift2 -o tests/result/swift3 -t ${{ secrets.TOKEN }}
fosslight_dependency -p tests/test_carthage -o tests/result/carthage -t ${{ secrets.TOKEN }}
fosslight_dependency -p tests/test_swift -o tests/result/swift -t ${{ env.TOKEN }}
fosslight_dependency -p tests/test_swift2 -o tests/result/swift2 -t ${{ env.TOKEN }}
fosslight_dependency -p tests/test_swift2 -o tests/result/swift3 -t ${{ env.TOKEN }}
fosslight_dependency -p tests/test_carthage -o tests/result/carthage -t ${{ env.TOKEN }}
reuse:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 25dd832

Please sign in to comment.