|
@@ -18,7 +18,6 @@ env:
|
|
|
STRUCTURE101_LICENSEID: ${{ secrets.STRUCTURE101_LICENSEID }}
|
|
|
ARTIFACTORY_USERNAME: ${{ secrets.ARTIFACTORY_USERNAME }}
|
|
|
ARTIFACTORY_PASSWORD: ${{ secrets.ARTIFACTORY_PASSWORD }}
|
|
|
- RUN_JOBS: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
|
|
|
|
permissions:
|
|
|
contents: read
|
|
@@ -27,6 +26,7 @@ jobs:
|
|
|
prerequisites:
|
|
|
name: Pre-requisites for building
|
|
|
runs-on: ubuntu-latest
|
|
|
+ if: ${{ github.repository == 'spring-projects/spring-security' }}
|
|
|
outputs:
|
|
|
runjobs: ${{ steps.continue.outputs.runjobs }}
|
|
|
project_version: ${{ steps.continue.outputs.project_version }}
|
|
@@ -34,7 +34,6 @@ jobs:
|
|
|
- uses: actions/checkout@v2
|
|
|
- id: continue
|
|
|
name: Determine if should continue
|
|
|
- if: env.RUN_JOBS == 'true'
|
|
|
run: |
|
|
|
# Run jobs if in upstream repository
|
|
|
echo "::set-output name=runjobs::true"
|