Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Commit c03609c

Browse files
authored
Merge pull request #117 from github/improving-posture
Improving Security Posture
2 parents 9c7fa78 + 554a729 commit c03609c

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

.github/workflows/golangci-lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
with:
2424
go-version: '1.22'
2525
- name: golangci-lint
26-
uses: golangci/golangci-lint-action@v3.7.0
26+
uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc
2727
with:
2828
# Optional: version of golangci-lint to use in form of v1.2 or v1.2.3 or `latest` to use the latest version
2929
version: v1.55.2

.github/workflows/releases.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- '*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
goreleaser:
1013
runs-on: ubuntu-latest
@@ -21,7 +24,7 @@ jobs:
2124
go-version: 1.22
2225
-
2326
name: Run GoReleaser
24-
uses: goreleaser/goreleaser-action@v2
27+
uses: goreleaser/goreleaser-action@b953231f81b8dfd023c58e0854a721e35037f28b
2528
with:
2629
version: 'v1.14.0'
2730
args: release --rm-dist

.github/workflows/workflow.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
---
22
name: Vulcanizer CI
33
on: [push, pull_request]
4+
permissions:
5+
contents: read
6+
actions: read
7+
checks: write
48
jobs:
59
build:
610
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)