Skip to content

Commit

Permalink
ci: 🎡 add permissions to release script
Browse files Browse the repository at this point in the history
  • Loading branch information
streamich committed Dec 18, 2023
1 parent 8794bbe commit fe7040c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,12 @@ on:

jobs:
release:
if:
${{ github.event_name == 'push' && (github.event.ref == 'refs/heads/master' || github.event.ref == 'refs/heads/next') }}
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
strategy:
matrix:
node-version: [20.x]
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ An implementation of Redis client in TypeScript.

- Supports Redis 7+.
- Supports Redis cluster mode.
- Supports RESP3 protocol support.
- Supports Redis RESP3 serialization protocol.
- Very fast RESP3 message encoder and streaming decoder.
- Supports TLS.
- Supports TLS connections.
- Supports all subscription types: `SUBSCRIBE`, `PSUBSCRIBE`, `SSUBSCRIBE`.

0 comments on commit fe7040c

Please sign in to comment.