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
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4
- name: Install Go
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: Check Go module tidiness
Expand All @@ -51,7 +51,7 @@ jobs:
name: Test
strategy:
matrix:
go-version: [ 1.22.x, 1.23.x ]
go-version: [ 1.23.x ]
platform: [ ubuntu-latest, macos-latest, windows-latest ]
runs-on: ${{ matrix.platform }}
steps:
Expand Down
2 changes: 2 additions & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Default
* @gogs/core
2 changes: 2 additions & 0 deletions repo_tag.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ func (r *Repository) CreateTag(name, rev string, opts ...CreateTagOptions) error
cmd.AddCommitter(opt.Author)
}
} else {
// 🚨 SECURITY: Prevent including unintended options in the path to the Git command.
cmd.AddArgs("--end-of-options")
cmd.AddArgs(name)
}

Expand Down
Loading