- Detects task references in PR titles
- Supports multiple PR events
- Handles PR reviews (approvals/change requests)
- Maps GitHub users to eXo users
- Rich formatted messages with PR links
name: PLF Pull Request Notifications
on:
pull_request:
types: [opened, reopened, closed, review_requested]
pull_request_review:
types: [submitted]
jobs:
notify_tasks:
runs-on: ubuntu-latest
steps:
- uses: Green-Hub-Tools/notifs-task@main
with:
SERVER_URL: 'https://community.exoplatform.com'
SERVER_USERNAME: ${{ secrets.SERVER_USERNAME }}
SERVER_PASSWORD: ${{ secrets.SERVER_PASSWORD }}
Input | Required | Default |
---|---|---|
SERVER_URL |
Yes | - |
SERVER_USERNAME |
Yes | - |
SERVER_PASSWORD |
Yes | - |
TASKS_REGEX_FILTER |
No | (task|maint|exo)((-|_)[0-9]{4,})+ |
Clone repo
git clone https://github.com/Green-Hub-Tools/notifs-task.git
cd notifs-task
Install dependencies
npm install
Build action
npm run build
AGPL-3.0 License
Copyright (C) 2023 Green-Hub-Tools
Full license at LICENSE file