Skip to content

Commit dd1212b

Browse files
Merge pull request #10 from express-rate-limit/enable-npm-provenance
ci: enable provenance statement generation
2 parents 823e94e + 70d7957 commit dd1212b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

.github/workflows/cicd.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,9 @@ jobs:
108108
runs-on: ubuntu-latest
109109
needs: [ci-node,ci-db-linting,ci-db-testing]
110110
if: startsWith(github.ref, 'refs/tags/v')
111+
permissions:
112+
contents: write
113+
id-token: write
111114
steps:
112115
- name: Checkout the repository
113116
uses: actions/checkout@v3
@@ -118,7 +121,7 @@ jobs:
118121
- name: Install dependencies
119122
run: npm ci
120123
- name: Publish package to NPM
121-
run: npm publish --access=public
124+
run: npm publish --provenance --access=public
122125
env:
123126
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
124127
- name: Build package to upload to GitHub releases
@@ -131,4 +134,4 @@ jobs:
131134
files: acpr-rate-limit-postgresql.tgz
132135
body:
133136
You can view the changelog
134-
[here](https://github.com/adrianprelipcean/express-rate-limit-postgresql/blob/master/changelog.md).
137+
[here](https://github.com/adrianprelipcean/express-rate-limit-postgresql/blob/master/changelog.md).

changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to
77
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88

9+
## [1.3.2](https://github.com/adrianprelipcean/express-rate-limit-postgresql/releases/tag/v1.3.2)
10+
11+
### Added
12+
13+
- Enabled provenance statement generation, see
14+
https://github.com/express-rate-limit/express-rate-limit#406.
15+
916
## [1.3.1](https://github.com/adrianprelipcean/express-rate-limit-postgresql/releases/tag/v1.3.1)
1017

1118
### Changed

0 commit comments

Comments
 (0)