Skip to content

Commit 0c94cfc

Browse files
author
Steve Riesenberg
committed
Fix conditional using env namespace at job level
Issue gh-11158
1 parent e6297d3 commit 0c94cfc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release-next-version.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,11 @@ env:
1010
GRADLE_ENTERPRISE_CACHE_USER: ${{ secrets.GRADLE_ENTERPRISE_CACHE_USER }}
1111
GRADLE_ENTERPRISE_CACHE_PASSWORD: ${{ secrets.GRADLE_ENTERPRISE_CACHE_PASSWORD }}
1212
GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }}
13-
RUN_JOBS: ${{ github.repository == 'spring-projects/spring-security' }}
1413

1514
jobs:
1615
release-next-version:
1716
name: Initiate Release If Scheduled
18-
if: env.RUN_JOBS == 'true'
17+
if: ${{ github.repository == 'spring-projects/spring-security' }}
1918
runs-on: ubuntu-latest
2019
steps:
2120
- id: checkout-source

0 commit comments

Comments
 (0)