From f4318403beba9449f5e86687b493a6436f6219c9 Mon Sep 17 00:00:00 2001 From: Tomasz Gromadzki Date: Thu, 3 Oct 2024 06:04:59 +0200 Subject: [PATCH] common: allow manual main build on fork repos Signed-off-by: Tomasz Gromadzki --- .github/workflows/main.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 08d6c815e7..bbe7109d0c 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -14,6 +14,10 @@ jobs: permissions: issues: read steps: + - run: echo "event name is:" ${{ github.event_name }} + - run: echo "repository is:" ${{ github.repository }} + - run: echo "ref_name is:" ${{ github.ref_name }} + - name: Clone the git repo uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 with: @@ -24,7 +28,8 @@ jobs: # Skip for pmem/pmdk/master and stable-* branches if: | !(github.repository == 'pmem/pmdk' && - (github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) + (github.ref_name == 'master' || startsWith(github.ref_name, 'stable-'))) && + ! (github.event_name == 'workflow_dispatch') uses: Zomzog/changelog-checker@09cfe9ad3618dcbfdba261adce0c41904cabb8c4 # v1.3.0 with: fileName: ChangeLog