initial commit

This commit is contained in:
Luca Bilke 2024-06-05 13:15:52 +02:00
commit 2456cb0dbf
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
4 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,24 @@
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: Renovate
on:
schedule:
- cron: "0 * * * *"
jobs:
renovate:
runs-on: docker
container: renovate/renovate@sha256:bcfb43d9bc686df9c07a8db4098d26309b6972700dcd203f25d0ff4dda6f8e94
env:
RENOVATE_TOKEN: ${{ secrets.RENOVATE_TOKEN }}
GITHUB_COM_TOKEN: ${{ secrets.GH_NOPRIV_TOKEN }}
RENOVATE_GIT_PRIVATE_KEY: ${{ secrets.JOHNNY5_GPG_PRIVKEY }}
RENOVATE_PLATFORM: gitea
RENOVATE_ENDPOINT: ${{ github.server_url }}
RENOVATE_GIT_AUTHOR: "Johnny5 <bot@snaile.de>"
steps:
- uses: https://code.forgejo.org/actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- name: Renovate
run: renovate ${{ github.repository }}

View File

@ -0,0 +1,37 @@
# 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4
with:
fetch-depth: 0
token: ${{ secrets.FORGEJO_PUSH_TOKEN }}
repository: "snailed/void-packages"
sparse-checkout: "srcpkgs/${{ github.event.repository.name }}/"
ref: "master"
- name: Modify template
id: checksum
run: |
wget ${{ github.server_url }}/${{ github.repository }}/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/${{ github.event.repository.name }}/template
sed -i "/checksum=/ c checksum=${sha256sum}" srcpkgs/${{ github.event.repository.name }}/template
sed -i "/revision=/ c revision=1" srcpkgs/${{ github.event.repository.name }}/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: "${{ github.event.repository.name }}: update to ${{ github.ref_name }}."

15
LICENSE Normal file
View File

@ -0,0 +1,15 @@
ISC License
Copyright 2024 Luca Bilke
Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.

3
README.md Normal file
View File

@ -0,0 +1,3 @@
# Template
Lorem ipsum dolor sit amet, officia excepteur ex fugiat reprehenderit enim labore culpa sint ad nisi Lorem pariatur mollit ex esse exercitation amet. Nisi anim cupidatat excepteur officia. Reprehenderit nostrud nostrud ipsum Lorem est aliquip amet voluptate voluptate dolor minim nulla est proident. Nostrud officia pariatur ut officia. Sit irure elit esse ea nulla sunt ex occaecat reprehenderit commodo officia dolor Lorem duis laboris cupidatat officia voluptate. Culpa proident adipisicing id nulla nisi laboris ex in Lorem sunt duis officia eiusmod. Aliqua reprehenderit commodo ex non excepteur duis sunt velit enim. Voluptate laboris sint cupidatat ullamco ut ea consectetur et est culpa et culpa duis.