Skip to content

Update revisions

Update revisions #3

Workflow file for this run

name: Update revisions
on:
workflow_dispatch:
schedule:
- cron: '45 */6 * * *'
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: write
container:
image: 'registry.fedoraproject.org/fedora-minimal:latest'
steps:
- name: Prepare
run: |
microdnf -y install --nodocs --setopt=install_weak_deps=0 \
git-core rpm-build curl perl-interpreter jq rpmdevtools copr-cli parallel
- name: Copr config
env:
COPR_CONF: ${{ secrets.COPR_CONFIG }}
run: |
mkdir -p ~/.config
echo "$COPR_CONF" > ~/.config/copr
- uses: actions/checkout@v3
- name: Run updater
run: |
git config --global --add safe.directory "$GITHUB_WORKSPACE"
git config --local user.name "github-actions[bot]"
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
find -name "update.sh" -execdir {} \;