diff options
author | Mohammed Al Sahaf <[email protected]> | 2024-11-05 21:07:25 +0000 |
---|---|---|
committer | GitHub <[email protected]> | 2024-11-05 16:07:25 -0500 |
commit | b28576396956b3e5642c9f7949b750e2d20b6441 (patch) | |
tree | fc21653372f88d5fd125f1b254480b216bb3d0e1 /.github | |
parent | da88ec152c28201d82c78df53a45363276a0e2f4 (diff) | |
download | caddy-b28576396956b3e5642c9f7949b750e2d20b6441.tar.gz caddy-b28576396956b3e5642c9f7949b750e2d20b6441.zip |
ci: use commit sha in goreleaser-check (#6677)
* ci: use commit sha in goreleaser-check
Signed-off-by: Mohammed Al Sahaf <[email protected]>
* fix output assignment
Signed-off-by: Mohammed Al Sahaf <[email protected]>
* run only on non-fork or caddyserver repo, and use branch name
Signed-off-by: Mohammed Al Sahaf <[email protected]>
---------
Signed-off-by: Mohammed Al Sahaf <[email protected]>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a88bd17a4..049003233 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -194,6 +194,7 @@ jobs: goreleaser-check: runs-on: ubuntu-latest + if: github.repository_owner == 'caddyserver' && github.actor != 'dependabot[bot]' steps: - name: Checkout code uses: actions/checkout@v4 @@ -216,4 +217,4 @@ jobs: version: latest args: build --single-target --snapshot env: - TAG: "master" + TAG: ${{ github.head_ref || github.ref_name }} |