-
-
Notifications
You must be signed in to change notification settings - Fork 110
28 lines (27 loc) · 819 Bytes
/
readme-sync.yml
File metadata and controls
28 lines (27 loc) · 819 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Copyright © Michal Čihař <michal@weblate.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
name: Docker Hub Description
on:
push:
branches:
- main
paths:
- README.md
- .github/workflows/readme-sync.yml
jobs:
sync-readme:
runs-on: ubuntu-24.04
if: ${{ github.repository == 'WeblateOrg/docker'}}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@e98e4d1628a5f3be2be7c231e50981aee98723ae # v4
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: weblate/weblate
short-description: ${{ github.event.repository.description }}
permissions:
contents: read