Skip to content

Merge pull request #230 from clicksign/dependabot/github_actions/gith… #169

Merge pull request #230 from clicksign/dependabot/github_actions/gith…

Merge pull request #230 from clicksign/dependabot/github_actions/gith… #169

Workflow file for this run

name: Changelog Automation
on:
workflow_dispatch:
push:
branches:
- main
- release/**
jobs:
update-changelog:
runs-on: ubuntu-latest
if: "startsWith(github.event.head_commit.message, 'Merge')"
steps:
- name: Checkout Github
uses: actions/checkout@v3.1.0
- name: Get Title PR
id: get_message
run: echo "::set-output name=MESSAGE::$(echo '${{github.event.head_commit.message}}' | tail -n 1)"
- name: Update Changelog
uses: ./
with:
changelog_new_log: ${{ steps.get_message.outputs.MESSAGE }}
log_find: '## Alterações'
env:
GITHUB_TOKEN: ${{secrets.TOKEN}}