Files
azy5030-overlay/.gitea/workflows/bump.yaml
T
azy5030 3603b34ba0
CI / build (push) Failing after 3m20s
dev-util/gitea-runner: new package at 1.0.4
Initial azy5030 overlay: scaffolding (eselect repository), the
dev-util/gitea-runner ebuild (go-module, vendored), CI build validation,
and a daily upstream-bump workflow.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-20 19:36:58 -05:00

34 lines
1.1 KiB
YAML

name: Bump
on:
schedule:
- cron: '0 5 * * *'
workflow_dispatch: {}
jobs:
bump:
runs-on: ubuntu-latest
container:
image: gentoo/stage3:amd64-openrc
steps:
- name: Sync ::gentoo
run: emerge-webrsync
- name: Configure portage + install tooling
run: |
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
> /etc/portage/repos.conf/gentoo.conf
sed -i 's/^verify-signature = true/verify-signature = false/' \
/etc/portage/binrepos.conf/gentoo.conf
emerge -q --getbinpkg \
dev-vcs/git net-misc/curl app-arch/xz-utils app-misc/jq \
dev-lang/go dev-util/pkgdev
- name: Check for new release and open PR
env:
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
run: |
host=${GITHUB_SERVER_URL#http://}; host=${host#https://}
curl -fsSL "http://x-access-token:${GITEA_TOKEN}@${host}/${GITHUB_REPOSITORY}/raw/branch/master/scripts/bump-version.sh" \
-o /tmp/bump-version.sh
bash /tmp/bump-version.sh