Yarrlist Github Work 🌟
If the script runs without errors, you’ll see output like:
- name: Setup Python uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install Yarrlist run: pip install -r requirements.txt - name: Run Yarrlist run: python src/yarrlist.py --config prod_rules.yaml - name: Commit cleaned files run: | git config user.name "Yarrlist Bot" git add clean_data/ git commit -m "Automated list cleanup" || exit 0 git push yarrlist github work
name: Run Yarrlist Automation on: schedule: - cron: '0 */6 * * *' workflow_dispatch: # allows manual trigger If the script runs without errors, you’ll see
Yarrlist runs but doesn’t change the output Fix: Check your yarrlist.yaml rules. If remove_duplicates is set to false and no other operations are defined, nothing changes. Try adding debug: true to your config to see detailed logs. GitHub Action fails with “permission denied” on push
GitHub Action fails with “permission denied” on push Fix: Your workflow needs write permissions. In the repository settings, go to Actions → General → Workflow permissions → Select “Read and write permissions”.
Example: Adding a custom operation to reverse each line’s characters: