2024-10-27 17:13:08 +00:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
schedule:
|
2024-10-28 12:21:30 +00:00
|
|
|
- cron: '0 5 * * *'
|
2024-10-27 17:13:08 +00:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
check-user:
|
|
|
|
name: Check user repo
|
|
|
|
runs-on: x86_64
|
|
|
|
container:
|
|
|
|
image: alpine:latest
|
|
|
|
env:
|
|
|
|
downstream: https://ayakael.net/api/packages/forge/alpine/edge/user
|
|
|
|
FORGEJO_TOKEN: ${{ secrets.forgejo_token }}
|
|
|
|
LABEL_NUMBER: 4
|
|
|
|
steps:
|
|
|
|
- name: Environment setup
|
|
|
|
run: apk add grep coreutils gawk curl wget bash nodejs git jq sed
|
|
|
|
- name: Get scripts
|
|
|
|
uses: actions/checkout@v4
|
|
|
|
with:
|
|
|
|
fetch-depth: 1
|
|
|
|
- name: Check out-of-date packages
|
|
|
|
run: ${{ github.workspace }}/.forgejo/bin/check_ver.sh
|
|
|
|
- name: Create issues
|
|
|
|
run: ${{ github.workspace }}/.forgejo/bin/create_issue.sh
|