mirror of
https://github.com/hoverkraft-tech/compose-action.git
synced 2026-01-09 14:13:06 +08:00
Some checks failed
Internal - Main - Continuous Integration / ci (push) Has been cancelled
Need fix to Issue / main (push) Has been cancelled
Prepare release / release (push) Has been cancelled
Internal - Main - Continuous Integration / prepare-docs (push) Has been cancelled
Internal - Main - Continuous Integration / sync-docs (push) Has been cancelled
Mark stale issues and pull requests / main (push) Has been cancelled
Bumps the github-actions-dependencies group with 8 updates: --- updated-dependencies: - dependency-name: hoverkraft-tech/ci-github-nodejs dependency-version: 0.21.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-nodejs/.github/workflows/continuous-integration.yml dependency-version: 0.21.2 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common/.github/workflows/linter.yml dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common/.github/workflows/greetings.yml dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common/.github/workflows/need-fix-to-issue.yml dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common/.github/workflows/semantic-pull-request.yml dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies - dependency-name: hoverkraft-tech/ci-github-common/.github/workflows/stale.yml dependency-version: 0.31.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: github-actions-dependencies ... Signed-off-by: dependabot[bot] <support@github.com>
95 lines
2.9 KiB
YAML
95 lines
2.9 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
|
|
id-token: write
|
|
packages: read
|
|
pull-requests: write
|
|
security-events: write
|
|
statuses: write
|
|
secrets: inherit
|
|
|
|
prepare-docs:
|
|
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@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: 📖 Generate documentation
|
|
id: generate-documentation
|
|
uses: hoverkraft-tech/ci-dokumentor@c46a1a108957237cf485103a80b060c35c7dba33 # 0.2.2
|
|
with:
|
|
source: action.yml
|
|
extra-badges: |
|
|
[
|
|
{
|
|
"label":"codecov",
|
|
"url":"https://codecov.io/gh/hoverkraft-tech/compose-action/graph/badge.svg?token=90JXB7EIMA",
|
|
"linkUrl":"https://codecov.io/gh/hoverkraft-tech/compose-action"
|
|
}
|
|
]
|
|
|
|
- uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
|
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@b17226e57c8ef31f860719766656ebb6df017218 # 0.31.6
|
|
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@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
|
|
with:
|
|
name: documentation-files-${{ github.run_id }}
|
|
path: |
|
|
${{ steps.generate-documentation.outputs.destination }}
|
|
.github/logo.svg
|
|
|
|
sync-docs:
|
|
needs: prepare-docs
|
|
if: needs.prepare-docs.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.prepare-docs.outputs.artifact-id }}
|
|
github-app-id: ${{ vars.CI_BOT_APP_ID }}
|
|
secrets:
|
|
github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }}
|