Skip to content

Trigger workflow on push of this experiment branch #1

Trigger workflow on push of this experiment branch

Trigger workflow on push of this experiment branch #1

Workflow file for this run

name: 'Update CHANGELOG'
# on:
# push:
# branches:
# - master
on:
push:
branches:
- lr/workflow-update
jobs:
push_to_branch:
name: 'Add a line to CHANGELOG.md'
runs-on: ubuntu-latest
steps:
- name: 'Check out the repo'
uses: actions/checkout@v4
- name: Configure Git
run: |
git config user.name "GitHub Actions"
git config user.email "actions@github.com"
- name: Make a change to CHANGELOG
run: |
echo "=======================" >> CHANGELOG.md
echo "Line added to CHANGELOG" >> CHANGELOG.md
echo "=======================" >> CHANGELOG.md
git add CHANGELOG.md
git commit -m "Update CHANGELOG"
git push