Skip to content

Commit

Permalink
More strict CI permissions (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristaloleg authored Mar 20, 2023
1 parent 5a6d2bb commit fe88e35
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,10 @@ on:
required: true
default: 'v0.0.0'


# See https://github.com/cristalhq/.github/.github/workflows
jobs:
build:
uses: cristalhq/.github/.github/workflows/build.yml@v0.2.1
uses: cristalhq/.github/.github/workflows/build.yml@v0.4.0

vuln:
uses: cristalhq/.github/.github/workflows/[email protected]

release:
if: github.event_name == 'workflow_dispatch'
uses: cristalhq/.github/.github/workflows/[email protected]
with:
tag: ${{ github.event.input.tag }}
uses: cristalhq/.github/.github/workflows/[email protected]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ if err := r.Run(); err != nil {
}
```

See examples: [examples_test.go](example_test.go).
See examples: [example_test.go](example_test.go).

## Documentation

Expand Down

0 comments on commit fe88e35

Please sign in to comment.