Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .github/workflows/pr-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ on:
pull_request:
workflow_dispatch:

permissions:
contents: read
pull-requests: read
checks: write
security-events: write
actions: read
Comment thread
josefkarasek marked this conversation as resolved.

jobs:
pr-check:
uses: kedify/github-meta/.github/workflows/go-pr-check.yaml@main
Expand Down
19 changes: 3 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,13 @@ on:
push:
tags:
- "v*"
workflow_dispatch:

permissions:
contents: write
id-token: write

jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write

steps:
- name: Checkout
Expand All @@ -29,7 +27,6 @@ jobs:
uses: sigstore/cosign-installer@v3

- name: Run GoReleaser release
if: github.event_name == 'push'
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
Expand All @@ -38,13 +35,3 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
HOMEBREW_TAP_GITHUB_TOKEN: ${{ secrets.HOMEBREW_TAP_GITHUB_TOKEN }}
Comment thread
josefkarasek marked this conversation as resolved.

- name: Run GoReleaser snapshot
if: github.event_name == 'workflow_dispatch'
uses: goreleaser/goreleaser-action@v7
with:
distribution: goreleaser
version: "~> v2"
args: release --clean --snapshot
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Binary file removed kedify_0.0.1_linux_amd64.tar.gz
Binary file not shown.
Loading