• This repository has been archived on 16/Nov/2023
  • Stars
    star
    143
  • Rank 257,007 (Top 6 %)
  • Language
    TypeScript
  • License
    MIT License
  • Created almost 5 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

GitHub action to get workflow conclusion.

Workflow Conclusion Action

CI Status codecov CodeFactor License: MIT

Read this in other languages: English, ζ—₯本θͺž.

GitHub action to get workflow conclusion.

Table of Contents

Details

generated with TOC Generator

Usage

e.g. Lint => Test => Publish (only tagged) => slack (only if any job fails)

on: push

name: CI

jobs:
  lint:
    name: ESLint
    runs-on: ubuntu-latest
    ...

  test:
    name: Coverage
    needs: lint
    strategy:
      matrix:
        node: ['11', '12']
    ...

  publish:
    name: Publish Package
    needs: test
    if: startsWith(github.ref, 'refs/tags/v')
    ...

  slack:
    name: Slack
    needs: publish # set "needs" only last job except this job
    runs-on: ubuntu-latest
    if: always() # set "always"
    steps:
        # run this action to get the workflow conclusion
        # You can get the conclusion via env (env.WORKFLOW_CONCLUSION)
      - uses: technote-space/workflow-conclusion-action@v3

        # run other action with the workflow conclusion
      - uses: 8398a7/action-slack@v3
        with:
          # status: ${{ env.WORKFLOW_CONCLUSION }} # neutral, success, skipped, cancelled, timed_out, action_required, failure
          status: failure
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
        if: env.WORKFLOW_CONCLUSION == 'failure' # notify only if failure

Success

Success

Slack action step is skipped because all jobs are success.

Failure

Failure

Slack action step has been executed even if some jobs were skipped.

Author

GitHub (Technote)
Blog

More Repositories

1

toc-generator

GitHub Actions to generate TOC (Table of Contents)
TypeScript
219
star
2

get-diff-action

GitHub Actions to get git diff
TypeScript
191
star
3

release-github-actions

GitHub Actions to automate the release of GitHub Actions
TypeScript
80
star
4

assign-author

GitHub Actions to assign author to issue or PR
TypeScript
70
star
5

auto-cancel-redundant-workflow

GitHub Actions to automatically cancel redundant workflow.
TypeScript
59
star
6

package-version-check-action

GitHub Actions to check package version before publish
TypeScript
36
star
7

auto-card-labeler

GitHub actions to auto label a pull request or an issue based on project card move
TypeScript
35
star
8

gh-actions-template

Template for GitHub Actions
TypeScript
31
star
9

create-pr-action

GitHub Actions to manage PullRequest
TypeScript
31
star
10

broken-link-checker-action

GitHub Actions to check broken links and create issues.
TypeScript
24
star
11

add-richtext-toolbar-button

WordPress plugin to add richtext toolbar button
PHP
17
star
12

create-project-card-action

GitHub actions to create project card
TypeScript
15
star
13

pr-commit-body-action

GitHub action to add commit history to PR body
TypeScript
13
star
14

frourio-demo

TypeScript
12
star
15

jquery.marker-animation

Marker animation jQuery plugin
JavaScript
12
star
16

marker-animation

WordPress plugin to add underline animation
PHP
11
star
17

github-action-helper

Helper for GitHub Actions
TypeScript
10
star
18

y-proofreading

WordPress plugin to add feature of Japanese proofreading
PHP
10
star
19

load-config-action

TypeScript
6
star
20

github-action-pr-helper

PullRequest Helper for GitHub Actions
TypeScript
5
star
21

hide-blocks-temporarily

WordPress plugin to hide Gutenberg blocks temporarily
JavaScript
5
star
22

prisma-seeder-tools

TypeScript
4
star
23

ga-framework

Genetic Algorithm Framework
TypeScript
4
star
24

release-github-actions-cli

CLI tool of Release GitHub Actions
TypeScript
4
star
25

register-grouped-format-type

Gutenberg's library to provide method to register grouped RichText format type
JavaScript
4
star
26

laravel-reservation-management-system

Reservation system
PHP
4
star
27

genetic-algorithms-py

Genetic Algorithm
Python
3
star
28

can-npm-publish-action

GitHub Actions to check if it can be published to npm.
TypeScript
3
star
29

github-action-test-helper

Test helper for GitHub Actions.
TypeScript
3
star
30

ga-framework-template

TypeScript
3
star
31

use-local-storage

TypeScript
3
star
32

change-block-keywords

WordPress plugin to change keywords for block search
JavaScript
3
star
33

get-next-version-action

GitHub Actions to get next version from commit histories.
TypeScript
3
star
34

csrf-detector

CSRF Detector for WordPress
PHP
3
star
35

ts-package-template

Template for npm package.
Shell
2
star
36

technote-space

2
star
37

download-annotations-action

GitHub actions to download annotations
TypeScript
2
star
38

github-actions-workflows

Shell
2
star
39

gutenberg-package-versions

Versions of Gutenberg's packages (auto updated by GitHub Actions)
Shell
2
star
40

laravel-search-helper

Search helper for Laravel
PHP
2
star
41

wp-related-post-jp

WordPress recommendation plugin for Japanese
PHP
2
star
42

genetic-algorithms-js

Genetic Algorithms Library
TypeScript
2
star
43

get-git-comment-action

GitHub actions to get git comment.
TypeScript
1
star
44

laravel-crud-helper

CRUD helper for Laravel
PHP
1
star
45

contact-form-7-huge-file-upload

CF7 extension plugin to upload huge file
PHP
1
star
46

worker-controller

Worker Controller
TypeScript
1
star
47

github-action-log-helper

Logging helpers for GitHub Actions
TypeScript
1
star
48

advanced-block-editor

WordPress plugin to add some useful features to block editor
JavaScript
1
star
49

python-setup

Shell
1
star
50

gutenberg-packages

Library to get versions of gutenberg packages
PHP
1
star
51

hello-genetic-algorithm

Generate `Hello,World!` string using Genetic Algorithm
TypeScript
1
star
52

gutenberg-utils

Utility for gutenberg
JavaScript
1
star
53

laravel-transaction-fire-event

PHP
1
star