Skip to content

ci: limit readme sync to certain files only #455

ci: limit readme sync to certain files only

ci: limit readme sync to certain files only #455

Workflow file for this run

# Copyright © Michal Čihař <[email protected]>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Docker Hub Description
on:
push:
branches:
- main
files:
- README.md
- .github/workflows/readme-sync.yml
jobs:
sync-readme:
runs-on: ubuntu-22.04
if: ${{ github.repository == 'WeblateOrg/wlc' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: weblate/weblate
short-description: ${{ github.event.repository.description }}