Skip to content

Commit

Permalink
checkout repo to make commit/PR. Trigger if update-lockfile.yml changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
zaneselvans committed Nov 6, 2023
1 parent e471675 commit 5e1739c
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/update-lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
paths:
- "pyproject.toml"
- "environments/*"
- ".github/workflows/update-lockfile.yml"

# What branch does this action run on?
# - workflow_dispatch: Whatever branch it was run against.
Expand Down Expand Up @@ -66,6 +67,10 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PUDL_BOT_PAT }}
ref: ${{ env.GITHUB_REF }}
- name: Commit updated conda lockfiles
uses: stefanzweifel/git-auto-commit-action@v5
with:
Expand All @@ -83,6 +88,10 @@ jobs:
run:
shell: bash -l {0}
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PUDL_BOT_PAT }}
ref: ${{ env.GITHUB_REF }}
- uses: peter-evans/create-pull-request@v5
with:
commit-message: "Update conda-lock.yml and rendered conda environment files."
Expand Down

0 comments on commit 5e1739c

Please sign in to comment.