feat(actions/create-and-merge-pull-request): add outputs for final re… #598
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Internal - Main - Continuous Integration | |
| on: # yamllint disable-line rule:truthy | |
| push: | |
| branches: [main] | |
| tags: ["*"] | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "25 8 * * 1" | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| ci: | |
| uses: ./.github/workflows/__shared-ci.yml | |
| permissions: | |
| actions: read | |
| contents: read | |
| id-token: write | |
| packages: read | |
| pull-requests: write | |
| statuses: write | |
| security-events: write | |
| release: | |
| needs: ci | |
| if: github.event_name != 'schedule' | |
| uses: hoverkraft-tech/ci-github-publish/.github/workflows/release-actions.yml@48e0c54489152b98d9e18f0454ccce120e9d0fd1 # 0.23.0 | |
| permissions: | |
| contents: read | |
| with: | |
| update-all: ${{ (github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) || github.event_name == 'workflow_dispatch' }} | |
| github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }} | |
| secrets: | |
| github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} | |
| sync-docs: | |
| needs: release | |
| if: needs.release.outputs.artifact-id | |
| uses: hoverkraft-tech/public-docs/.github/workflows/sync-docs-dispatcher.yml@f3c9291760d927e6214e8d5f0a376af2d537c369 # 0.4.0 | |
| permissions: | |
| contents: read | |
| with: | |
| artifact-id: ${{ needs.release.outputs.artifact-id }} | |
| github-app-client-id: ${{ vars.CI_BOT_APP_CLIENT_ID }} | |
| secrets: | |
| github-app-key: ${{ secrets.CI_BOT_APP_PRIVATE_KEY }} |