Skip to content

Commit

Permalink
try to get auto-commit to work better
Browse files Browse the repository at this point in the history
  • Loading branch information
crewalsh committed Nov 1, 2024
1 parent bada07c commit 2fde432
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions .github/workflows/get_pubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
pull-requests: write

jobs:
build:
Expand All @@ -28,10 +29,11 @@ jobs:
- name: Execute Python Script
run: |
python3 collect_pub_files.py
- name: commit updated files
run: |
git config user.email "[email protected]"
git config user.name "Catherine Walsh"
git add "_data/pub_list.csv"
git commit -m "update publication list"
git push
- name: Create PR for new change
uses: peter-evans/create-pull-request@v7
with:
commit-message: Update publications
title: Update publications
body: New publication was added, update the CSV
branch: update-pubs

0 comments on commit 2fde432

Please sign in to comment.