Skip to content

chore(deps): update ksxgithub/github-actions-deploy-aur action to v4.1.1 #48

chore(deps): update ksxgithub/github-actions-deploy-aur action to v4.1.1

chore(deps): update ksxgithub/github-actions-deploy-aur action to v4.1.1 #48

Workflow file for this run

name: updpkgsums
on:
pull_request:
types:
- opened
- synchronize
branches:
- main
jobs:
updpkgsums:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
ref: ${{ github.ref }}
- name: Find updated package
run: |
#!/usr/bin/env bash
set -euxo pipefail
echo "pkgbuild=$(git diff --name-only origin/main origin/${GITHUB_HEAD_REF} "*PKGBUILD" | head -1 | xargs dirname)" >> $GITHUB_ENV
- name: Validate package
if: ${{ env.pkgbuild != '' }}
uses: ./.github/actions/aur
with:
action: 'updpkgsums'
pkgname: ${{ env.pkgbuild }}
- name: Commit
if: ${{ env.pkgbuild != '' }}
uses: stefanzweifel/git-auto-commit-action@e348103e9026cc0eee72ae06630dbe30c8bf7a79 # v5.1.0
with:
file_pattern: '*/PKGBUILD */.SRCINFO'