mirror of https://github.com/winsw/winsw
				
				
				
			Merge pull request #338 from kohsuke/github-actions-v2
Switch Release Drafter GitHub Action to YAMLpull/358/head
						commit
						66ddd1fb4a
					
				| 
						 | 
				
			
			@ -0,0 +1,16 @@
 | 
			
		|||
name: Release Management
 | 
			
		||||
 | 
			
		||||
on:
 | 
			
		||||
  push:
 | 
			
		||||
    # branches to consider in the event; optional, defaults to all
 | 
			
		||||
    branches:
 | 
			
		||||
      - master
 | 
			
		||||
 | 
			
		||||
jobs:
 | 
			
		||||
  update_draft_release:
 | 
			
		||||
    runs-on: ubuntu-latest
 | 
			
		||||
    steps:
 | 
			
		||||
      # Drafts your next Release notes as Pull Requests are merged into "master"
 | 
			
		||||
      - uses: toolmantim/release-drafter@v5.2.0
 | 
			
		||||
        env:
 | 
			
		||||
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
 | 
			
		||||
| 
						 | 
				
			
			@ -1,9 +0,0 @@
 | 
			
		|||
workflow "Push" {
 | 
			
		||||
  on = "push"
 | 
			
		||||
  resolves = ["Draft Release"]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
action "Draft Release" {
 | 
			
		||||
  uses = "toolmantim/release-drafter@v5.2.0"
 | 
			
		||||
  secrets = ["GITHUB_TOKEN"]
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
		Reference in New Issue