Skip to content

Commit

Permalink
Create updateChangelog.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Nick-Andreano authored Jun 13, 2024
1 parent 03e7498 commit a72e5bd
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .github/workflows/updateChangelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Run changelog Script

on:
release:
types: [published]
workflow_dispatch:

jobs:
updateChangelog:
runs-on: ubuntu-latest
steps:
- name: checkout repo content
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: setup python
uses: actions/setup-python@v5
with:
python-version: 3.8 #install the python needed

Check failure on line 19 in .github/workflows/updateChangelog.yml

View workflow job for this annotation

GitHub Actions / Ansible Lint

yaml[comments]

Missing starting space in comment
- name: Install dependencies
run: |
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: execute py script
run: |
python scripts/changelog.py > CHANGELOG.md
git config user.name github-actions
git config user.email [email protected]
git add .
git commit -m "Update CHANGELOG.md"
git push origin HEAD:main

0 comments on commit a72e5bd

Please sign in to comment.