Skip to content

Commit 36d4678

Browse files
authored
Use documented syntax for GitHub action conditional (#3941)
https://docs.github.com/en/actions/how-tos/write-workflows/choose-when-workflows-run/control-jobs-with-conditions shows that the terms of the conditional need to be surrounded by `${{ }}`
1 parent eaf0d82 commit 36d4678

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release-drafter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ on:
88

99
jobs:
1010
update_release_draft:
11+
# Only draft release notes on the repo in the jenkinsci GitHub organization
12+
if: ${{ github.repository_owner == 'jenkinsci' }}
1113
runs-on: ubuntu-latest
12-
if: github.repository_owner == 'jenkinsci'
1314
steps:
1415
# https://github.com/release-drafter/release-drafter/issues/871#issuecomment-3686135188
1516
- name: Wait for 15 seconds to ensure GraphQL consistency

0 commit comments

Comments
 (0)