mirror of
https://github.com/kubevirt/kubevirt.core.git
synced 2026-07-28 18:34:36 +00:00
Merge pull request #12 from 0xFelix/manual-workflows
release: Run other workflows explicitly
This commit is contained in:
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@@ -7,6 +7,7 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
pull_request:
|
pull_request:
|
||||||
|
workflow_dispatch:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 6 * * *'
|
- cron: '0 6 * * *'
|
||||||
jobs:
|
jobs:
|
||||||
|
|||||||
16
.github/workflows/release.yml
vendored
16
.github/workflows/release.yml
vendored
@@ -76,8 +76,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Create release tag
|
- name: Create release tag
|
||||||
run: |
|
run: |
|
||||||
git config user.name github-actions
|
git config user.name kubevirt-bot
|
||||||
git config user.email github-actions@github.com
|
git config user.email kubevirtbot@redhat.com
|
||||||
git tag -a ${{ steps.get_version.outputs.TAG_VERSION }} -m "Release v${{ steps.get_version.outputs.TAG_VERSION }}" || true
|
git tag -a ${{ steps.get_version.outputs.TAG_VERSION }} -m "Release v${{ steps.get_version.outputs.TAG_VERSION }}" || true
|
||||||
git push origin --tags
|
git push origin --tags
|
||||||
|
|
||||||
@@ -89,3 +89,15 @@ jobs:
|
|||||||
tag_name: ${{ steps.get_version.outputs.TAG_VERSION }}
|
tag_name: ${{ steps.get_version.outputs.TAG_VERSION }}
|
||||||
files: "*.tar.gz"
|
files: "*.tar.gz"
|
||||||
body_path: gh-release.md
|
body_path: gh-release.md
|
||||||
|
|
||||||
|
- name: Run docs workflow
|
||||||
|
run: |
|
||||||
|
gh workflow run docs.yml --ref main
|
||||||
|
gh workflow run docs.yml --ref ${{ steps.get_version.outputs.TAG_VERSION }}
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|
||||||
|
- name: Run ci workflow
|
||||||
|
run: gh workflow run ci.yml --ref main
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
|||||||
Reference in New Issue
Block a user