Skip to content

Notify

Notify #1

Workflow file for this run

#=========================== begin_copyright_notice ============================
#
# Copyright (C) 2020-2021 Intel Corporation
#
# SPDX-License-Identifier: MIT
#
#============================ end_copyright_notice =============================
name: Notify
on:
status:
pull_request_review:
jobs:
notify:
runs-on: [self-hosted, linux, gfx]
steps:
- name: Get branch name if status changed
if: github.event_name == 'status'
run: >
echo "os_branch=${{ github.event.branches[0].name }}" >> $GITHUB_ENV
- name: Get branch name if pr review state changed
if: github.event_name == 'pull_request_review'
run: >
echo "os_branch=${{ github.event.pull_request.head.ref }}" >> $GITHUB_ENV
- name: Notify
run: ${{ secrets.NOTIFY }}