Fedora bot #33889
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Poll for new releases in Fedora dist-git and schedule Koji builds and/or update Bodhi | |
name: "Fedora bot" | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '*/30 * * * *' | |
jobs: | |
check: | |
name: Check for new releases | |
runs-on: ubuntu-latest | |
container: | |
image: ghcr.io/osbuild/fedora-bot:latest | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
- name: Check for new releases | |
run: python3 fedora_bot.py --user imagebuilder-bot --password "${{ secrets.FEDORA_PASSWORD }}" --apikey "${{ secrets.FEDORA_APIKEY }}" --component osbuild:3 --component osbuild-composer:2 --component koji-osbuild:2 --component cockpit-composer:2 | |
shell: bash | |
env: | |
SLACK_WEBHOOK_URL: "${{ secrets.SLACK_WEBHOOK_URL }}" |