Skip to content

Bump pyiron-atomistics from 0.6.15 to 0.6.16 #845

Bump pyiron-atomistics from 0.6.15 to 0.6.16

Bump pyiron-atomistics from 0.6.15 to 0.6.16 #845

Workflow file for this run

# This workflow is used to apply the automated changes (by dependabot) to the dependencies in .ci_support/environment.yml ```
# Usage:
# on:
# pull_request_target:
# branches: [ main ]
name: Update Dependabot PR
on:
workflow_call:
pull_request_target:
branches: [ main ]
jobs:
dependabot:
runs-on: ubuntu-latest
if: (github.actor == 'dependabot[bot]')
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.ref }} # Check out the head of the actual branch, not the PR
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}
- uses: pyiron/actions/update-env-files@main
with:
conda-yml: ${{ env.YML_FILE_PATHS }}
env:
YML_FILE_PATHS: "$(find . -name environment.yml)"
- name: UpdateDependabotPR commit
run: |
git config --local user.email "[email protected]"
git config --local user.name "pyiron-runner"
git commit -m "[dependabot skip] Update environment" -a
- name: UpdateDependabotPR push
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.DEPENDABOT_WORKFLOW_TOKEN }}
branch: ${{ github.event.pull_request.head.ref }}