diff --git a/.github/workflows/stackpacks-ci.yml b/.github/workflows/stackpacks-ci.yml index f07790e..9d372e1 100644 --- a/.github/workflows/stackpacks-ci.yml +++ b/.github/workflows/stackpacks-ci.yml @@ -25,6 +25,14 @@ concurrency: cancel-in-progress: false jobs: + debug: + name: debug + runs-on: ubuntu-24.04 + steps: + - name: Write GitHub context to log + env: + GITHUB_CONTEXT: ${{ toJSON(github) }} + run: echo "$GITHUB_CONTEXT" validate: name: validate (${{ matrix.stackpack }}) @@ -165,9 +173,10 @@ jobs: name: Docker image build, scan, and push needs: [package] if: | - always() && - github.reposity == 'StackVista/contrib-stackpacks' && - (needs.package.result == 'success' || needs.package.result == 'skipped') + always() && ( + (github.event_name == 'pull_request' && github.event.pull_request.head.repo.owner.login == 'StackVista') + || (github.event_name =='push' && github.event.push.repository.owner.login == 'StackVista') + ) && (needs.package.result == 'success' || needs.package.result == 'skipped') runs-on: ubuntu-24.04 permissions: contents: read diff --git a/README.md b/README.md index 46c1a2d..36712f3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # contrib-stackpacks SUSE Observability Community Stackpacks + +FORK!