Skip to content

Commit

Permalink
dependabot changelog automation (#354)
Browse files Browse the repository at this point in the history
Co-authored-by: Roberto Pastor Muela <[email protected]>
  • Loading branch information
klmcadams and RobPasMue authored Aug 18, 2023
1 parent c315e33 commit 63352f8
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ updates:
labels:
- "maintenance"
- "dependencies"
- "dependabot"

- package-ecosystem: "github-actions"
directory: "/"
Expand All @@ -15,3 +16,4 @@ updates:
labels:
- "maintenance"
- "dependencies"
- "dependabot"
4 changes: 4 additions & 0 deletions .github/labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@
description: Related with project dependencies
color: ffc0cb

- name: dependabot
description: Related to dependabot
color: f56cda

- name: documentation
description: Improvements or additions to documentation
color: 0677ba
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,24 @@ jobs:
exit 1
fi
dependabot-changelog:
name: Automate dependabot changelog
runs-on: ubuntu-latest
if: contains(github.ref, 'refs/heads/dependabot')
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}

- uses: dangoslen/dependabot-changelog-helper@v3
with:
activationLabel: 'dependabot'
changelogPath: './CHANGELOG.md'

- uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Updated Changelog"

tests:
name: Testing and coverage - Mechanical ${{ matrix.mechanical-version }}
runs-on: public-ubuntu-latest-8-cores
Expand Down
6 changes: 2 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,10 @@ This document follows the conventions laid out in [Keep a CHANGELOG](https://kee

### Added

- Add a "Documentation and issues" section to README and doc landing page (#347)

### Added

- Max parallel 2 for embedding tests - ci_cd.yml (#341)
- New features for ansys-mechanical console script (#343)
- Add a "Documentation and issues" section to README and doc landing page (#347)
- Dependabot changelog automation (#354)

### Changed

Expand Down

0 comments on commit 63352f8

Please sign in to comment.