Skip to content

Commit

Permalink
Update update-pangeo-dockerfile.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes authored Nov 14, 2024
1 parent ed73687 commit b403a8e
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .github/workflows/update-pangeo-dockerfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,23 +47,20 @@ jobs:
sed '/ENTRYPOINT/d' base-image/Dockerfile.new > base-image/Dockerfile
rm base-image/Dockerfile.new
- name: Commit and Push Changes
if: env.changed == 'true'
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git checkout -b update-dockerfile
git add base-image/Dockerfile
git commit -m "Update Dockerfile from pangeo github"
git push origin update-dockerfile --force
- name: Create Pull Request
if: env.changed == 'true'
uses: peter-evans/create-pull-request@v7
with:
title: "Update Dockerfile from Source"
body: "This PR updates the Dockerfile in base-image directory to the latest version from the source repo."
base: ${{ github.ref }} # Base branch (main or dev)
branch: "update-dockerfile"
reviewers: |
eeholmes
commit-message: Update base-image Dockerfile
committer: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
branch: update-dockerfile
delete-branch: true
title: 'Update Dockerfile'
body: |
Update Pangeo base-image Dockerfile
- Auto-generated by [create-pull-request][1]
[1]: https://github.com/peter-evans/create-pull-request
assignees: eeholmes
reviewers: eeholmes
draft: false

0 comments on commit b403a8e

Please sign in to comment.