Changelog ignore commits with word changelog, FIX: last changes not included in latest branch

This commit is contained in:
Joseph Garrone 2020-05-20 05:39:37 +02:00
parent 5c26178184
commit 0f5878dede
4 changed files with 11 additions and 8 deletions

View file

@ -38,7 +38,7 @@ jobs:
- name: Get version on branch 'latest' - name: Get version on branch 'latest'
id: v_latest id: v_latest
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
with: with:
action_name: get_package_json_version action_name: get_package_json_version
owner: ${{github.repository_owner}} owner: ${{github.repository_owner}}
@ -49,7 +49,7 @@ jobs:
- name: Get version on master - name: Get version on master
id: v_master id: v_master
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
with: with:
action_name: get_package_json_version action_name: get_package_json_version
owner: ${{github.repository_owner}} owner: ${{github.repository_owner}}
@ -59,7 +59,7 @@ jobs:
- name: 'Trigger the ''publish'' workflow if newer version' - name: 'Trigger the ''publish'' workflow if newer version'
if: ${{ !!env.PAT && steps.v_master.outputs.compare_result == '1' }} if: ${{ !!env.PAT && steps.v_master.outputs.compare_result == '1' }}
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
env: env:
GITHUB_TOKEN: ${{ secrets.PAT }} GITHUB_TOKEN: ${{ secrets.PAT }}
with: with:

View file

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Synchronize package.json and package-lock.json version if needed. - name: Synchronize package.json and package-lock.json version if needed.
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
env: env:
GITHUB_TOKEN: ${{ secrets.PAT }} GITHUB_TOKEN: ${{ secrets.PAT }}
with: with:
@ -19,7 +19,7 @@ jobs:
commit_author_email: ts_ci@github.com commit_author_email: ts_ci@github.com
- name: Update CHANGELOG.md - name: Update CHANGELOG.md
if: ${{ !!github.event.client_payload.from_version }} if: ${{ !!github.event.client_payload.from_version }}
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
env: env:
GITHUB_TOKEN: ${{ secrets.PAT }} GITHUB_TOKEN: ${{ secrets.PAT }}
with: with:
@ -38,6 +38,9 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
fetch-depth: 0 fetch-depth: 0
ref: master
- name: Remove .github directory, useless on 'latest' branch
run: rm -r .github
- name: Remove branch 'latest' - name: Remove branch 'latest'
continue-on-error: true continue-on-error: true
run: | run: |

View file

@ -7,7 +7,7 @@ jobs:
- name: Checking availability for module name ${{github.event.repository.name}} on NPM. - name: Checking availability for module name ${{github.event.repository.name}} on NPM.
id: id1 id: id1
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
with: with:
action_name: is_well_formed_and_available_module_name action_name: is_well_formed_and_available_module_name
module_name: ${{github.event.repository.name}} module_name: ${{github.event.repository.name}}
@ -32,7 +32,7 @@ jobs:
- run: mv LICENSE.template LICENSE - run: mv LICENSE.template LICENSE
- name : String replace - name : String replace
id: id2 id: id2
uses: garronej/github_actions_toolkit@v1 uses: garronej/github_actions_toolkit@v1.1
with: with:
action_name: string_replace action_name: string_replace
input_string: ${{github.event.repository.name}} input_string: ${{github.event.repository.name}}

View file

@ -28,7 +28,7 @@
import { myFunction, myObject } from '#{REPO_NAME}#'; import { myFunction, myObject } from '#{REPO_NAME}#';
``` ```
Specific import Specific imports:
```typescript ```typescript
import { myFunction } from '#{REPO_NAME}#/myFunction'; import { myFunction } from '#{REPO_NAME}#/myFunction';