mirror of
https://github.com/goauthentik/authentik.git
synced 2026-08-30 18:51:39 -07:00
Bumps [actions/checkout](https://github.com/actions/checkout) from 7.0.0 to 7.0.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](9c091bb21b...3d3c42e5aa)
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: 7.0.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
57 lines
1.9 KiB
YAML
57 lines
1.9 KiB
YAML
---
|
|
name: Translation - Extract and compile
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *" # every day at midnight
|
|
workflow_dispatch:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
- version-*
|
|
|
|
env:
|
|
POSTGRES_DB: authentik
|
|
POSTGRES_USER: authentik
|
|
POSTGRES_PASSWORD: "EK-5jnKfjrGRm<77"
|
|
|
|
jobs:
|
|
compile:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- id: generate_token
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1 # v2
|
|
with:
|
|
client-id: ${{ secrets.GH_APP_ID }}
|
|
private-key: ${{ secrets.GH_APP_PRIV_KEY }}
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
with:
|
|
token: ${{ steps.generate_token.outputs.token }}
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v5
|
|
if: ${{ github.event_name == 'pull_request' }}
|
|
- name: Setup authentik env
|
|
uses: ./.github/actions/setup
|
|
- name: run extract
|
|
run: |
|
|
uv run make i18n-extract
|
|
- name: run compile
|
|
run: |
|
|
uv run ak compilemessages
|
|
make web-check-compile
|
|
- name: Create Pull Request
|
|
if: ${{ github.event_name != 'pull_request' }}
|
|
uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v7
|
|
with:
|
|
token: ${{ steps.generate_token.outputs.token }}
|
|
branch: extract-compile-backend-translation
|
|
commit-message: "core, web: update translations"
|
|
title: "core, web: update translations"
|
|
body: "core, web: update translations"
|
|
delete-branch: true
|
|
signoff: true
|
|
labels: dependencies
|
|
# ID from https://api.github.com/users/authentik-automation[bot]
|
|
author: authentik-automation[bot] <135050075+authentik-automation[bot]@users.noreply.github.com>
|