This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [actions/checkout](https://github.com/actions/checkout) | action | digest | `a5ac7e5` -> `eef6144` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4zNDAuMiIsInVwZGF0ZWRJblZlciI6IjM3LjM0MC4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119--> Reviewed-on: #15 Co-authored-by: Johnny5 <bot@snaile.de> Co-committed-by: Johnny5 <bot@snaile.de>
37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
|
|
name: Update void-packages template
|
|
|
|
on:
|
|
push:
|
|
tags: ["*"]
|
|
|
|
jobs:
|
|
update-template:
|
|
name: Update xbps-src template
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
|
|
with:
|
|
fetch-depth: 0
|
|
token: ${{ secrets.FORGEJO_PUSH_TOKEN }}
|
|
repository: "snailed/void-packages"
|
|
sparse-checkout: "srcpkgs/trash-util/"
|
|
ref: "master"
|
|
|
|
- name: Modify template
|
|
id: checksum
|
|
run: |
|
|
wget https://git.snaile.de/snailed/trash-util/archive/${{ github.ref_name }}.tar.gz
|
|
sha256sum="$(sha256sum ${{ github.ref_name }}.tar.gz | cut -d ' ' -f 1)"
|
|
|
|
sed -i '/version=/ c version=${{ github.ref_name }}' srcpkgs/trash-util/template
|
|
sed -i "/checksum=/ c checksum=${sha256sum}" srcpkgs/trash-util/template
|
|
sed -i "/revision=/ c revision=1" srcpkgs/trash-util/template
|
|
|
|
- name: Commit
|
|
uses: https://github.com/stefanzweifel/git-auto-commit-action@3ea6ae190baf489ba007f7c92608f33ce20ef04a # v4.16.0
|
|
with:
|
|
commit_user_name: "Johnny5"
|
|
commit_user_email: "bot@snaile.de"
|
|
commit_author: "Johnny5 <bot@snaile.de>"
|
|
commit_message: "trash-util: update to ${{ github.ref_name }}."
|