CI status hello 3331 - c7e107c728348fbaef755d739af3efbbe7fa40b8 #296
Workflow file for this run
This file contains 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
# SPDX-FileCopyrightText: Copyright (c) 2023-present NVIDIA CORPORATION & AFFILIATES. | |
# All rights reserved. | |
# SPDX-License-Identifier: BSD-3-Clause | |
# A workflow to send CI-related helpful information to PRs | |
name: pull | |
on: | |
pull_request: | |
run-name: CI status hello ${{ github.event.pull_request.number }} - ${{ github.event.pull_request.head.sha }} | |
jobs: | |
status_hello: | |
name: send CI hello status | |
runs-on: ubuntu-latest | |
permissions: | |
statuses: write | |
steps: | |
- name: Set CI hello status | |
run: | | |
curl \ | |
-X POST \ | |
-H "Accept: application/vnd.github+json" \ | |
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ | |
https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha }} \ | |
-d "{\"state\":\"success\",\"target_url\":\"https://github.com/NVIDIA/Fuser/wiki/Bot-Commands\",\"description\":\"Authorized users: comment !build or !test to trigger CI pipelines. See wiki.\",\"context\":\"CI notes\"}" |