mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-10 06:33:06 +08:00
Bumps the github-actions-dependencies group with 3 updates: - [docker/setup-docker-action](https://github.com/docker/setup-docker-action) - [hoverkraft-tech/ci-github-nodejs](https://github.com/hoverkraft-tech/ci-github-nodejs) - [hoverkraft-tech/ci-github-common](https://github.com/hoverkraft-tech/ci-github-common) --- updated-dependencies: - dependency-name: docker/setup-docker-action dependency-version: 4.5.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-nodejs dependency-version: 0.17.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common dependency-version: 0.28.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
84 lines
2.5 KiB
YAML
84 lines
2.5 KiB
YAML
name: Internal - Main - Continuous Integration
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
tags: ["*"]
|
|
|
|
workflow_dispatch:
|
|
|
|
schedule:
|
|
- cron: "25 8 * * 1"
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
ci:
|
|
uses: ./.github/workflows/__shared-ci.yml
|
|
permissions:
|
|
actions: read
|
|
contents: read
|
|
packages: read
|
|
security-events: write
|
|
statuses: write
|
|
id-token: write
|
|
secrets: inherit
|
|
|
|
release:
|
|
needs: ci
|
|
if: github.event_name != 'schedule'
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
contents: read
|
|
outputs:
|
|
artifact-id: ${{ steps.upload-artifact.outputs.artifact-id }}
|
|
steps:
|
|
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
|
|
|
|
- name: 📖 Generate documentation
|
|
id: generate-documentation
|
|
uses: hoverkraft-tech/ci-dokumentor@c46a1a108957237cf485103a80b060c35c7dba33 # 0.2.2
|
|
with:
|
|
source: action.yml
|
|
|
|
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
|
|
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@5f11437c716059f30c635f90055060e4ef8b31a0 # 0.28.0
|
|
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]
|
|
|
|
- id: upload-artifact
|
|
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
|
|
with:
|
|
name: documentation-files-${{ github.run_id }}
|
|
path: |
|
|
${{ steps.generate-documentation.outputs.destination }}
|
|
.github/logo.svg
|
|
|
|
sync-docs:
|
|
needs: release
|
|
if: needs.release.outputs.artifact-id
|
|
uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@c40c17f7d6a8090950b3ef4bfc70502707a6bb9f # 0.3.0
|
|
permissions:
|
|
contents: read
|
|
with:
|
|
artifact-id: ${{ needs.release.outputs.artifact-id }}
|
|
github-app-id: ${{ vars.CI_BOT_APP_ID }}
|
|
secrets:
|
|
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|