Skip to content

Update README generating code #26

Update README generating code

Update README generating code #26

Workflow file for this run

name: 'Update Stars'

Check failure on line 1 in .github/workflows/ci.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/ci.yaml

Invalid workflow file

(Line: 25, Col: 7): Unexpected value 'permissions'
on:
workflow_dispatch:
schedule:
- cron: 30 0 * * *
jobs:
update-stars:
name: 'Update Stars'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.14'
- name: Install dependencies
run: pipx install uv
- name: Update README
run: ./bake run
- uses: 'crazy-max/ghaction-import-gpg@2dc316deee8e90f13e1a351ab510b4d5bc0c82cd' # v7.0.0
with:
gpg_private_key: '${{ secrets.GPG_PRIVATE_KEY }}'
passphrase: '${{ secrets.GPG_PRIVATE_KEY_PASSWORD }}'
- name: 'Commit'
permissions:
contents: 'write'
run: |
_date=$(date '+%Y-%m-%d')
git add config/ublacklist-compiled.txt
git add config/ublockorigin-compiled.txt
git \
-c user.name='Otternaut' \
-c user.email='99463792+otternaut-bot@users.noreply.github.com' \
commit \
-m "$_date" \
--author='Otternaut <99463792+otternaut-bot@users.noreply.github.com>' \
-S0xFB6C155AFD89739C
git push