No description
Find a file
Alec Delaney 4c74d55cba
Merge pull request #2 from tekktrik/dev/update-nodejs-16
Update to Node.js 16, add ncc for prepare script
2023-02-13 13:52:01 -05:00
dist Update to Node.js 16, add ncc for prepare script 2023-02-08 20:28:51 -05:00
node_modules Update to Node.js 16, add ncc for prepare script 2023-02-08 20:28:51 -05:00
screenshots Add CoC, README and license 2021-04-13 14:50:09 -07:00
.gitignore Include dist 2021-04-12 18:49:27 -07:00
action.yml Update to Node.js 16, add ncc for prepare script 2023-02-08 20:28:51 -05:00
CODE_OF_CONDUCT.md Add CoC, README and license 2021-04-13 14:50:09 -07:00
index.js remove prints. fix link 2021-04-13 08:32:38 -07:00
LICENSE Add CoC, README and license 2021-04-13 14:50:09 -07:00
package-lock.json Update to Node.js 16, add ncc for prepare script 2023-02-08 20:28:51 -05:00
package.json Update to Node.js 16, add ncc for prepare script 2023-02-08 20:28:51 -05:00
README.md Add CoC, README and license 2021-04-13 14:50:09 -07:00

Introduction

Discord

This action posts a help comment about the CircuitPython Library CI checks to the related pull request. This is usually only done when a workflow run fails. (See the example workflow file below.)

The action reacts to the PR with eyes as a lock to prevent multiple posts. When the reaction is added, it will also post a comment with the help text. When the reaction already exists, the comment isn't posted.

Screenshot of pull request conversation with eyes reaction and help comment

Usage

Place this in your GitHub repo's .github/workflows directory. (Typically named failure-help-text.yml.)

# SPDX-FileCopyrightText: 2021 Scott Shawcroft for Adafruit Industries
#
# SPDX-License-Identifier: MIT

name: Failure help text

on:
  workflow_run:
    workflows: ["Build CI"]
    types:
      - completed

jobs:
  post-help:
    runs-on: ubuntu-latest
    if: ${{ github.event.workflow_run.conclusion == 'failure' }}
    steps:
    - name: Post comment to help
      uses: adafruit/circuitpython-action-library-ci-failed@v1

The text of the comment will be automatically update as the v1 tag of the action is updated.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.