From edd4bc4610afb69f27d6373013ea3524c93dce45 Mon Sep 17 00:00:00 2001 From: sindhute Date: Fri, 25 Jun 2021 07:00:51 -0400 Subject: [PATCH 1/3] get log --- .github/workflows/changelog.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/changelog.yml diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 00000000..e429a0d6 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,28 @@ +name: Change Log +on: + push: + tags: + - 'v*' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Generate changelog + id: changelog + uses: metcalfc/changelog-generator@main + with: + myToken: ${{ secrets.GITHUB_TOKEN }} + head-ref: 'v0.0.2' + base-ref: 'v0.0.1' + - name: Get the changelog + run: echo "${{ steps.changelog.outputs.changelog }}" + - name: Generate changelog from release + id: release + uses: metcalfc/changelog-generator@main + with: + myToken: ${{ secrets.GITHUB_TOKEN }} + - name: Get the changelog + run: echo "${{ steps.release.outputs.changelog }}" \ No newline at end of file From bfe0355c442231569727385632ac5d539edac9a3 Mon Sep 17 00:00:00 2001 From: sindhute Date: Fri, 25 Jun 2021 07:13:38 -0400 Subject: [PATCH 2/3] Update changelog.yml --- .github/workflows/changelog.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index e429a0d6..2c82dd2f 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -18,11 +18,4 @@ jobs: head-ref: 'v0.0.2' base-ref: 'v0.0.1' - name: Get the changelog - run: echo "${{ steps.changelog.outputs.changelog }}" - - name: Generate changelog from release - id: release - uses: metcalfc/changelog-generator@main - with: - myToken: ${{ secrets.GITHUB_TOKEN }} - - name: Get the changelog - run: echo "${{ steps.release.outputs.changelog }}" \ No newline at end of file + run: echo "${{ steps.changelog.outputs.changelog }}" \ No newline at end of file From 36ce947b52b44b4f57a3f0d715611845789221d0 Mon Sep 17 00:00:00 2001 From: sindhute Date: Fri, 25 Jun 2021 07:21:52 -0400 Subject: [PATCH 3/3] use reference v1 --- .github/workflows/changelog.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml index 2c82dd2f..2a242927 100644 --- a/.github/workflows/changelog.yml +++ b/.github/workflows/changelog.yml @@ -12,10 +12,8 @@ jobs: uses: actions/checkout@v2 - name: Generate changelog id: changelog - uses: metcalfc/changelog-generator@main + uses: metcalfc/changelog-generator@v1.0.0 with: myToken: ${{ secrets.GITHUB_TOKEN }} - head-ref: 'v0.0.2' - base-ref: 'v0.0.1' - name: Get the changelog run: echo "${{ steps.changelog.outputs.changelog }}" \ No newline at end of file