mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 18:26:42 +07:00
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 6 to 7. - [Release notes](https://github.com/peter-evans/create-pull-request/releases) - [Commits](https://github.com/peter-evans/create-pull-request/compare/v6...v7) --- updated-dependencies: - dependency-name: peter-evans/create-pull-request dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
46 lines
1.4 KiB
YAML
46 lines
1.4 KiB
YAML
name: Generate catalog templates (POT) files fetched automatically by transifex
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- master
|
|
paths:
|
|
- 'user_manual/**'
|
|
- '!user_manual/locale/**'
|
|
|
|
jobs:
|
|
user_manual:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
|
|
|
|
- uses: ammaraskar/sphinx-action@master
|
|
with:
|
|
docs-folder: "user_manual/"
|
|
pre-build-command: pip install -r requirements.txt
|
|
build-command: make gettext
|
|
|
|
- uses: peter-evans/create-pull-request@v7
|
|
id: cpr
|
|
with:
|
|
token: ${{ secrets.COMMAND_BOT_PAT }}
|
|
commit-message: "chore(l10n): Updates catalog templates (POT files fetched automatically by transifex)"
|
|
title: Updates catalog templates
|
|
branch: update-l10n
|
|
signoff: true
|
|
|
|
- uses: hmarr/auto-approve-action@v4.0.0
|
|
if: steps.cpr.outputs.pull-request-operation == 'created'
|
|
with:
|
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
|
|
|
|
- uses: pascalgn/automerge-action@v0.16.3
|
|
if: steps.cpr.outputs.pull-request-operation == 'created'
|
|
env:
|
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
|
MERGE_LABELS: ""
|
|
MERGE_RETRIES: 10
|
|
MERGE_RETRY_SLEEP: 60000
|
|
PULL_REQUEST: ${{ steps.cpr.outputs.pull-request-number }}
|