add autocopr action
Signed-off-by: June Strawberry <june@vern.cc>
This commit is contained in:
parent
fd8ee422dd
commit
5e532593fa
1 changed files with 27 additions and 0 deletions
27
.github/workflows/autocopr.yml
vendored
Normal file
27
.github/workflows/autocopr.yml
vendored
Normal file
|
|
@ -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"
|
||||||
Loading…
Add table
Add a link
Reference in a new issue