forked from WeblateOrg/docker
-
Notifications
You must be signed in to change notification settings - Fork 3
30 lines (29 loc) · 950 Bytes
/
readme-sync.yml
File metadata and controls
30 lines (29 loc) · 950 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
29
30
# 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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Docker Hub Description
uses: peter-evans/dockerhub-description@1b9a80c056b620d92cedb9d9b5a223409c68ddfa # v5.0.0
with:
username: ${{ secrets.DOCKERHUB_USERNAME }} # zizmor: ignore[secrets-outside-env]
password: ${{ secrets.DOCKERHUB_PASSWORD }} # zizmor: ignore[secrets-outside-env]
repository: weblate/weblate
short-description: ${{ github.event.repository.description }}
permissions:
contents: read