Skip to content

Commit

Permalink
Update actions order
Browse files Browse the repository at this point in the history
  • Loading branch information
kpicaza committed Sep 25, 2021
1 parent 3e0b5c0 commit bfbcdb8
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 12 deletions.
21 changes: 15 additions & 6 deletions .github/workflows/generate_changelog.yaml
@@ -1,19 +1,26 @@
name: generate_changelog

on:
push:
branches:
- 1.0.x
workflow_run:
workflows:
- "split_monorepo0"
types:
- completed

jobs:
generate_changelog:
name: "Generate Changelog"
runs-on: ubuntu-latest

steps:
- name: "Checkout"
-
if: "startsWith(github.ref, 'refs/tags/')"
name: "Checkout"
uses: "actions/checkout@v2"

- name: "Write Changelog"
-
if: "startsWith(github.ref, 'refs/tags/')"
name: "Write Changelog"
uses: heinrichreimer/github-changelog-generator-action@v2.1.1
with:
token: ${{ secrets.CHANGELOG_TOKEN }}
Expand All @@ -31,7 +38,9 @@ jobs:
author: true
usernamesAsGithubLogins: true

- name: "Commit changes"
-
if: "startsWith(github.ref, 'refs/tags/')"
name: "Commit changes"
uses: EndBug/add-and-commit@v7 # You can change this to use a specific version
with:
# Determines the way the action fills missing author name and email. Three options are available:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/split_monorepo.yaml
@@ -1,11 +1,9 @@
name: Split Monorepo Dev-Master
name: split_monorepo

on:
workflow_run:
workflows:
- "generate_split_changelog"
types:
- completed
push:
branches:
- 1.0.x

jobs:
provide_packages_json:
Expand Down

0 comments on commit bfbcdb8

Please sign in to comment.