Skip to content

semcelik/github-action-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

github-action-playground

this project contains some github action workflows as a playground for myself

workflow samples

commit-author (created by me)

(on every push)

  • Checks commit's author email if it is end with @gmail.com

More Info

(on push master)

  • Bumps version if merged pull request's commit message contains PATCH, MINOR, MAJOR prefix
  • Creates a tag due if version is bumped
  • Creates a release if new tag is generated

Notes: It uses Github's Personal Access Token due to trigger publish-to-npm workflow. Here is why

(on create new release)

  • Install dependencies (uses @actions/cache to restore it from previous run)
  • Create build and publishes to NPM

Notes: It uses NPM_AUTH_TOKEN due to publish without login