This repository was archived by the owner on Nov 7, 2025. It is now read-only.
Add Quesma version to the logging context #42
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Issues and PRs Notification | |
| permissions: | |
| contents: read | |
| pull-requests: read | |
| statuses: write | |
| issues: read | |
| on: | |
| issues: | |
| types: [opened] | |
| pull_request_target: | |
| types: [opened] | |
| jobs: | |
| notify-slack: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Send Slack notification for new issue or PR | |
| uses: slackapi/[email protected] | |
| with: | |
| method: chat.postMessage | |
| token: ${{ secrets.SLACK_BOT_TOKEN }} | |
| payload: | | |
| channel: ${{ secrets.SLACK_ISSUES_AND_PRS_CHANNEL_ID }} | |
| text: > | |
| ${{ github.event_name == 'issues' && ':memo: *New Issue Created!*' || ':twisted_rightwards_arrows: *New Pull Request Opened!*' }} | |
| *Title:* ${{ github.event_name == 'issues' && github.event.issue.title || github.event.pull_request.title }} | |
| *Author:* ${{ github.event_name == 'issues' && github.event.issue.user.login || github.event.pull_request.user.login }} | |
| *URL:* ${{ github.event_name == 'issues' && github.event.issue.html_url || github.event.pull_request.html_url }} |