Skip to content

Don’t Look UB: Exposing Sanitizer-Eliding Compiler Optimizations #33

Don’t Look UB: Exposing Sanitizer-Eliding Compiler Optimizations

Don’t Look UB: Exposing Sanitizer-Eliding Compiler Optimizations #33

Workflow file for this run

name: Notifications
on:
pull_request:
types:
- closed
jobs:
notifications:
if: ${{ github.event.pull_request.merged == true &&
contains(github.event.pull_request.labels.*.name, 'next-paper') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Get selection details
id: vars
run: |
echo "title=$(sed -n '1p' ./data/desc.txt)" >> $GITHUB_OUTPUT &&
echo "mla=$(sed -n '2p' ./data/desc.txt)" >> $GITHUB_OUTPUT
- name: Discord notification
if: ${{ DISCORD_WEBHOOK != '' }

Check failure on line 22 in .github/workflows/notify.yaml

View workflow run for this annotation

GitHub Actions / Notifications

Invalid workflow file

The workflow is not valid. .github/workflows/notify.yaml (Line: 22, Col: 13): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found. .github/workflows/notify.yaml (Line: 30, Col: 13): Unrecognized named-value: 'SLACK_WEBHOOK_URL'. Located at position 1 within expression: SLACK_WEBHOOK_URL != ''
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK_URL }}
uses: Ilshidur/action-discord@master
with:
args: "Next paper: ${{ steps.vars.outputs.title }}\n\n${{ steps.vars.outputs.mla }}"
- name: Send custom JSON data to Slack workflow
if: ${{ SLACK_WEBHOOK_URL != '' }}
id: slack
uses: slackapi/[email protected]
with:
slack-message: "Next paper: ${{ steps.vars.outputs.title }}\n\n${{ steps.vars.outputs.mla }}"
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK