Skip to content

Commit

Permalink
[skip ci] chore(ci): create draft release workflow is only triggered …
Browse files Browse the repository at this point in the history
…when CHANGELOG.md has been updated
  • Loading branch information
ThibaultBee committed Dec 20, 2022
1 parent 2013e81 commit 766b633
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .github/workflows/create-release-from-changelog.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
name: Create draft release if needed
name: Create draft release from CHANGELOG.md

on:
push:
branches:
- main
paths:
- 'CHANGELOG.md'

jobs:
update-documentation:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Create draft release if needed
uses: apivideo/api.video-release-from-changelog-action@v0.0.1
uses: apivideo/api.video-release-from-changelog-action@main
with:
github-auth-token: ${{ secrets.GITHUB_TOKEN }}
prefix: v

0 comments on commit 766b633

Please sign in to comment.