Skip to content

Command Not Found Rebuild #91

Command Not Found Rebuild

Command Not Found Rebuild #91

name: Command Not Found Rebuild
on:
schedule:
- cron: "0 0 * * 0" # Runs weekly
workflow_dispatch:
permissions: {} # none
jobs:
rebuild-command-not-found:
permissions:
issues: write
contents: write
if: github.repository == 'termux/termux-packages'
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
fetch-depth: 1
token: ${{ secrets.TERMUXBOT2_TOKEN }}
- name: Revbump main/command-not-found
env:
GITHUB_TOKEN: ${{ secrets.TERMUXBOT2_TOKEN }}
run: |
git config --global user.name "Termux Github Actions"
git config --global user.email "contact@termux.dev"
./scripts/bin/revbump command-not-found
git add .
git commit -m "rebuild(main/command-not-found): to update database"
git push