From 5e532593fa7ccaa11930c12057d55b5a8b7c8dab Mon Sep 17 00:00:00 2001 From: June Strawberry Date: Sun, 4 Jan 2026 23:38:54 -0500 Subject: [PATCH] add autocopr action Signed-off-by: June Strawberry --- .github/workflows/autocopr.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/autocopr.yml diff --git a/.github/workflows/autocopr.yml b/.github/workflows/autocopr.yml new file mode 100644 index 00000000..3d23f50e --- /dev/null +++ b/.github/workflows/autocopr.yml @@ -0,0 +1,27 @@ +name: Update .rpm SPEC files +on: + # Allows for manually running an update from the actions tab + workflow_dispatch: + + schedule: + # Runs every day at ~12am UTC - see https://crontab.guru/ + - cron: '0 0 * * *' + +# Revoke all default permissions +permissions: {} + +jobs: + update: + name: update + runs-on: ubuntu-latest + permissions: + # needed to push commits to this repo + # see `check` mode if you don't want to give this permission + contents: write + + steps: + - uses: actions/checkout@v5 + + - uses: aidandenlinger/autocopr@v1 # Or a specific release tag, or commit + with: + mode: "push"