Skip to content

feat(searxng): style guide links (#1450) #611

feat(searxng): style guide links (#1450)

feat(searxng): style guide links (#1450) #611

Workflow file for this run

name: CI
on:
push:
branches: [main]
jobs:
ci:
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the
# added or changed files to the repository.
contents: write
# Prevent infinite loops by checking if the last commit was autogenerated.
if: ${{ github.repository == 'catppuccin/userstyles' && github.event.commits[0].author.name != 'github-actions' }}
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6
with:
token: ${{ secrets.USERSTYLES_TOKEN }}
fetch-depth: 2
- name: Setup Deno
uses: nekowinston/setup-deno@a790e9ad1e6b1c727a4ea621a8a8219b1f2c373d # main
with:
deno-version: v2.3.5
- name: Bump changed userstyles
run: |
git diff --name-only HEAD^1 HEAD | grep '^styles/.*catppuccin\.user\.less$' | xargs deno task ci:bump
- name: Commit changes
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "chore: bump changed userstyles"
default_author: github_actions
push: false
- name: Update generated files
run: deno task ci:generate
env:
GITHUB_TOKEN: ${{ secrets.USERSTYLES_TOKEN }}
- name: Commit changes
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "chore: update generated files"
default_author: github_actions
push: false
- name: Format files
run: deno fmt
- name: Commit changes
uses: EndBug/add-and-commit@a94899bca583c204427a224a7af87c02f9b325d5 # v9
with:
message: "style: deno fmt"
default_author: github_actions
push: false
- name: Push changes
run: git push origin "HEAD:${{ github.ref }}" --atomic