Skip to content

Fix security notification #8051

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 5, 2025
Merged
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
22 changes: 18 additions & 4 deletions .github/workflows/issue-handling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ name: Process issue workflows
types: [created, edited]

jobs:
show-event-info:
name: Show issue workflow event information
steps:
- name: Show github event
run: >-
cat <<END_OF_TEXT
${{ toJSON(github.event) }}
END_OF_TEXT

add-to-project:
name: Add issue to projects
# issue_comment is triggered when commenting on both issues and
Expand All @@ -33,10 +42,15 @@ jobs:
name: Notify security channel
runs-on: timescaledb-runner-arm64
if: >-
github.event_name == 'issues' &&
github.event.action != 'closed' &&
( contains(github.event.issue.labels.*.name, 'segfault') ||
contains(github.event.issue.labels.*.name, 'security') )
github.event_name == 'issues' && github.event.action == 'opened' && (
contains(github.event.issue.labels.*.name, 'segfault') ||
contains(github.event.issue.labels.*.name, 'security')
)
||
github.event_name == 'issues' && github.event.action == 'labeled' && (
github.event.label.name == 'segfault' ||
github.event.label.name == 'security'
)
env:
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
steps:
Expand Down
Loading