All Projects → technote-space → gh-actions-template

technote-space / gh-actions-template

Licence: MIT License
Template for GitHub Actions

Programming Languages

typescript
32286 projects
shell
77523 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to gh-actions-template

github-act-runner
act as self-hosted runner
Stars: ✭ 68 (+161.54%)
Mutual labels:  github-actions
python-lint
GitHub Action for Lint your code
Stars: ✭ 57 (+119.23%)
Mutual labels:  github-actions
lambda-action
GitHub Action for Deploying Lambda code to an existing function
Stars: ✭ 197 (+657.69%)
Mutual labels:  github-actions
build-godot-action
GitHub action that builds a Godot project for multiple platforms
Stars: ✭ 62 (+138.46%)
Mutual labels:  github-actions
setup-task
GitHub Actions action to make Task available for use in your workflow
Stars: ✭ 14 (-46.15%)
Mutual labels:  github-actions
vale-action
The official GitHub Action for Vale -- install, manage, and run Vale with ease.
Stars: ✭ 76 (+192.31%)
Mutual labels:  github-actions
scorecard-action
Official GitHub Action for OSSF Scorecards.
Stars: ✭ 33 (+26.92%)
Mutual labels:  github-actions
cross-platform-python-gui
A fork-ready base for your new GUI application. Uses CI to automatically build executables for Linux (AppImage), Windows (exe), and MacOS (dmg)
Stars: ✭ 53 (+103.85%)
Mutual labels:  github-actions
actions-readme-feed
Display RSS feed in your GitHub Profile README
Stars: ✭ 26 (+0%)
Mutual labels:  github-actions
deno-action
Github action for setup Deno
Stars: ✭ 24 (-7.69%)
Mutual labels:  github-actions
cake-build
Demonstrates a basic build of a .NET NuGet package using https://cakebuild.net/
Stars: ✭ 22 (-15.38%)
Mutual labels:  github-actions
chalice-extended-action
Automated deployment of your Chalice application via Github Actions
Stars: ✭ 18 (-30.77%)
Mutual labels:  github-actions
auto-card-labeler
GitHub actions to auto label a pull request or an issue based on project card move
Stars: ✭ 33 (+26.92%)
Mutual labels:  github-actions
actions
A collection of GitHub Actions
Stars: ✭ 21 (-19.23%)
Mutual labels:  github-actions
npm-update-check-action
npm new package version check action for GitHub Actions.
Stars: ✭ 17 (-34.62%)
Mutual labels:  github-actions
all-about-reactJS
I'll be working on 20 different ReactJS projects over the course of 60 days and try to create mobile-first, light and dark themed apps out of them.
Stars: ✭ 15 (-42.31%)
Mutual labels:  github-actions
Android-CICD
This repo demonstrates how to work on CI/CD for Mobile Apps 📱 using Github Actions 💊 + Firebase Distribution 🎉
Stars: ✭ 37 (+42.31%)
Mutual labels:  github-actions
simple-slack-notify
Slack notification action that just works
Stars: ✭ 23 (-11.54%)
Mutual labels:  github-actions
action
📦📊 GitHub Action to reports on the size of your npm package
Stars: ✭ 36 (+38.46%)
Mutual labels:  github-actions
django-security-check
Helps you continuously monitor and fix common security vulnerabilities in your Django application.
Stars: ✭ 69 (+165.38%)
Mutual labels:  github-actions

GitHub Actions Template

CI Status codecov CodeFactor License: MIT

Template for GitHub actions.

Table of Contents

Details

Setup

yarn

  • yarn setup

npm

  • npm run setup

Workflows

Some workflows are included by default.

ci.yml

CI Workflow

  1. ESLint
  2. Jest
    • Send coverage report to codecov if CODECOV_TOKEN is set.
  3. Release GitHub Actions
    • if tag is added.
  4. Publish package
    • if tag is added and NPM_AUTH_TOKEN is set.
  5. Publish release
    • if 3 and 4 jobs are succeeded.
  6. Notify by slack
    • if workflow is failure

ACCESS_TOKEN is required.
SLACK_WEBHOOK_URL is required.

add-version-tag.yml

Add the release tag when pull request is merged.

  1. Get next version from commits histories.
    see Conventional Commits
  2. Add tag.
  3. Create branch for next version.

ACCESS_TOKEN is required.

toc.yml

Create TOC (Table of contents)

ACCESS_TOKEN is required.

issue-opened.yml

  • Assign the issue to project
    default setting:
    Project: Backlog
    Column: To do
    
  • Assign author to issue

pr-opened.yml

  • Assign the PR to project
    default setting:
    Project: Backlog
    Column: In progress
    
    ACCESS_TOKEN is required.
  • Assign author to PR
  • Add labels by branch
    setting

pr-updated.yml

  • Add labels by changed files setting
  • Create PR histories
  • Manage PR by release type
    ACCESS_TOKEN is required.
  • Check version in package.json
    ACCESS_TOKEN is required.
  • Check if it can be published to npm
    if NPM_AUTH_TOKEN is set

project-card-moved.yml

Manage labels by moving project cards

broken-link-check.yml

Check broken link in README

update-dependencies.yml

Update package dependencies

  • schedule
  • PR opened, closed
  • repository dispatch

add-test-tag.yml

Add tag for test release

Secrets

ACCESS_TOKEN

Personal access token with the public_repo or repo scope
(repo is required for private repositories)

SLACK_WEBHOOK_URL

https://api.slack.com/messaging/webhooks

Test release

technote-space/release-github-actions-cli - GitHub

  1. Create .env
    Set Personal access token
    token=1234567890abcdef1234567890abcdef12345678
    
  2. Run yarn release
    • Dry run: yarn release -n
    • Help: yarn release -h

cli

Then, you can use your GitHub Actions like follows:

on: push
name: Test
jobs:
  toc:
    name: Test
    runs-on: ubuntu-latest
    steps:
      - uses: owner/repo@gh-actions

Helpers

technote-space/github-action-helper - GitHub

technote-space/github-action-test-helper - GitHub

technote-space/filter-github-action - GitHub

Author

GitHub (Technote)
Blog

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].