Build Hostlists Registry #29653
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build Hostlists Registry | |
on: | |
push: | |
branches: | |
- main | |
schedule: | |
- cron: "0 * * * *" | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build: | |
if: "!contains(github.event.head_commit.message, 'skip ci')" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo with depth 1 | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
- name: yarn install | |
run: yarn install | |
- name: yarn lint | |
run: yarn lint | |
- name: yarn compose | |
run: yarn compose | |
- name: Commit & Push changes | |
uses: actions-js/[email protected] | |
if: github.ref == 'refs/heads/main' && github.repository == 'AdguardTeam/HostlistsRegistry' | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
branch: "main" | |
message: "skip ci: auto-build" |