mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-10 22:53:06 +08:00
38 lines
1.1 KiB
YAML
38 lines
1.1 KiB
YAML
name: Internal - Main - Continuous Integration
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
ci:
|
|
uses: ./.github/workflows/__shared-ci.yml
|
|
secrets: inherit
|
|
|
|
generate-readme:
|
|
needs: ci
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: bitflight-devops/github-action-readme-generator@v1.8.0
|
|
- uses: actions/create-github-app-token@v1
|
|
id: generate-token
|
|
with:
|
|
app-id: ${{ vars.CI_BOT_APP_ID }}
|
|
private-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|
|
|
|
- uses: hoverkraft-tech/ci-github-common/actions/create-and-merge-pull-request@main
|
|
with:
|
|
github-token: ${{ steps.generate-token.outputs.token }}
|
|
branch: docs/actions-workflows-documentation-update
|
|
title: "docs: update actions and workflows documentation"
|
|
body: Update actions and workflows documentation
|
|
commit-message: |
|
|
docs: update actions and workflows documentation
|
|
|
|
[skip ci]
|