From acb09b3d3854b2856369fdfe88576dd9d1d3bec8 Mon Sep 17 00:00:00 2001 From: cuisongliu Date: Sat, 8 Jul 2023 19:18:50 +0800 Subject: [PATCH] refactor(main): auto package (#122) * refactor(main): auto package Signed-off-by: cuisongliu * refactor(main): auto package Signed-off-by: cuisongliu --------- Signed-off-by: cuisongliu --- .github/workflows/pages.yml | 2 +- .github/workflows/pr.yml | 2 +- .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 3 +++ 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/pages.yml b/.github/workflows/pages.yml index 8b55df2..0525766 100644 --- a/.github/workflows/pages.yml +++ b/.github/workflows/pages.yml @@ -8,7 +8,7 @@ on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - + workflow_call: # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages permissions: contents: read diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 9271c1e..66aee8c 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for PR on: pull_request: diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 3d88bc9..b4d30a9 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,4 +1,4 @@ -name: Go +name: Go for Push on: push: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c9a9238..402072e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -97,3 +97,6 @@ jobs: -t ${DOCKER_REPO}:latest \ -f dockerfiles/cepctl/Dockerfile \ . + + call_ci_workflow: + uses: ./.github/workflows/pages.yml