mirror of
https://github.com/termux/termux-packages
synced 2024-06-18 18:27:07 +00:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
34 lines
903 B
YAML
34 lines
903 B
YAML
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
|