Skip to content

chore(deps): bump docker/build-push-action from 7.1.0 to 7.2.0 #126

chore(deps): bump docker/build-push-action from 7.1.0 to 7.2.0

chore(deps): bump docker/build-push-action from 7.1.0 to 7.2.0 #126

Workflow file for this run

on:
pull_request_target
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }}
cancel-in-progress: true
jobs:
check-lockfile:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout pull request
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Find submitting repository
id: get-source-repo
uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0
env:
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.repository }}
PULL: ${{ github.event.number }}
with:
script: |
const { data } = await github.rest.pulls.get({
owner: process.env.OWNER,
repo: process.env.REPO.split('/')[1],
pull_number: process.env.PULL,
});
core.setOutput('remote', data.head.repo.html_url)
core.setOutput('branch', data.head.ref)
- name: Set git identity
run: |
git config --global user.name "nipreps[bot]"
git config --global user.email "bot@nipreps.org"
- uses: prefix-dev/setup-pixi@1b2de7f3351f171c8b4dfeb558c639cb58ed4ec0 # v0.9.5
with:
pixi-version: v0.58.0
run-install: false
- name: Install the latest version of uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
- name: Update lockfile
run: >
uvx datalad run -i pixi.lock -i pyproject.toml -o pixi.lock --
bash -c '! pixi lock --check || git checkout .'
- name: Push updated lockfile, if needed
run: |
git push $REMOTE HEAD:$BRANCH
env:
REMOTE: ${{ steps.get-source-repo.outputs.remote }}
BRANCH: ${{ steps.get-source-repo.outputs.branch }}