Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .github/workflows/octo-ci-status.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ on:
OCTO_BOT_TOKEN:
required: true

permissions:
actions: read

jobs:
notify:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -103,6 +106,11 @@ jobs:
print('No state change, silent.')
sys.exit(0)

# Guard: first-ever run has no previous history — skip silently
if prev_conclusion is None:
print('First run detected (no previous history), skipping notification.')
sys.exit(0)

# Determine message
if curr_conclusion == 'failure':
msg = (
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/octo-issue-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on:
OCTO_BOT_TOKEN:
required: true

permissions: {}

jobs:
notify:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/octo-pr-feed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ on:
OCTO_BOT_TOKEN:
required: true

permissions: {}

jobs:
notify:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/pr-merged-done.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ on:
PROJECT_TOKEN:
required: true

permissions: {}

jobs:
move-to-done:
runs-on: ubuntu-latest
Expand Down