Skip to content

Commit

Permalink
common: allow manual main build on fork repos
Browse files Browse the repository at this point in the history
Signed-off-by: Tomasz Gromadzki <[email protected]>
  • Loading branch information
grom72 committed Oct 3, 2024
1 parent 1329da2 commit 93c3f54
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 93c3f54

Please sign in to comment.