cockpit-lib-update #103
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
name: cockpit-lib-update | |
on: | |
schedule: | |
- cron: '0 2 * * 4' | |
# can be run manually on https://github.com/cockpit-project/starter-kit/actions | |
workflow_dispatch: | |
jobs: | |
cockpit-lib-update: | |
environment: self | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
statuses: write | |
steps: | |
- name: Set up dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y make | |
- name: Set up configuration and secrets | |
run: | | |
printf '[user]\n\tname = Cockpit Project\n\[email protected]\n' > ~/.gitconfig | |
echo '${{ secrets.GITHUB_TOKEN }}' > ~/.config/github-token | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
with: | |
ssh-key: ${{ secrets.DEPLOY_KEY }} | |
- name: Run cockpit-lib-update | |
run: | | |
make bots | |
bots/cockpit-lib-update |