Skip to content

About

My frequently used GitHub action templates.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

16 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

Workflow Templates

  1. release(with optional publish)
  2. Update Dependencies
  3. setup (composite action)

Usage

Release

Based on lvr.

Features:

  1. Extracts release notes from CHANGELOG.md generated by lvr.
  2. Supports syncing published packages to cnpm.
name: Release

on:
  push:
    tags:
      - v*

jobs:
  release:
    permissions:
      contents: write
      id-token: write
    uses: lvjiaxuan/github-action-templates/.github/workflows/release.yml@main
    with:
      publish: true
      sync_cnpm: true

Inputs

Input Type Default Description
publish boolean false Whether to publish to NPM before releasing.
sync_cnpm boolean false Whether to sync the published package to cnpm.

Update dependencies

name: Update Dependencies

on:
  workflow_dispatch: {}
  schedule:
    - cron: 0 0 * * SAT

jobs:
  update-deps:
    uses: lvjiaxuan/github-action-templates/.github/workflows/update-deps.yml@main

Inputs

Input Type Default Description
email string ${{github.actor_id}}+${{github.actor}}@users.noreply.github.com The user.email config.
commit_msg string chore: update deps on CI The commit message.
mode string commit commit to push directly, or pr to create a pull request.

Other recommended actions

  1. update-repository-description by @zhengbangbo

About

My frequently used GitHub action templates.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Packages

Used by

Contributors