Skip to content

Commit 1e35d9e

Browse files
committed
fix: Skip Campfire workflows when secret is unset
Gate Campfire notify jobs on CAMPFIRE_MESSAGES_URL so forks and repos without the secret configured do not run notification steps.
1 parent 79a5861 commit 1e35d9e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/campfire-notify.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ permissions:
99

1010
jobs:
1111
post-commit-info:
12+
if: secrets.CAMPFIRE_MESSAGES_URL != ''
1213
runs-on: ubuntu-latest
1314
steps:
1415
- name: Post commit info to Campfire

0 commit comments

Comments
 (0)