Skip to content

Commit 9e0dcc7

Browse files
authored
fix: provenance & oidc (#146)
1 parent f280222 commit 9e0dcc7

File tree

4 files changed

+34
-14
lines changed

4 files changed

+34
-14
lines changed

.github/dependabot.yml

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,26 @@ updates:
77
day: "sunday"
88
time: "00:00"
99
commit-message:
10-
prefix: ""
11-
prefix-development: "dev"
12-
include: "scope"
10+
prefix: "ci"
1311
labels:
1412
- "dependencies"
1513
open-pull-requests-limit: 10
1614
pull-request-branch-name:
1715
separator: "-"
18-
rebase-strategy: "auto"
16+
rebase-strategy: "auto"
17+
- package-ecosystem: github-actions
18+
directory: "/"
19+
schedule:
20+
interval: "weekly"
21+
day: "monday"
22+
time: "06:00"
23+
commit-message:
24+
prefix: "ci"
25+
groups:
26+
continuous-integration:
27+
patterns:
28+
- '*'
29+
open-pull-requests-limit: 5
30+
pull-request-branch-name:
31+
separator: "-"
32+
rebase-strategy: "auto"

.github/workflows/ci.yaml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ jobs:
1111
node-version: ['lts/*']
1212

1313
steps:
14-
- uses: actions/checkout@v2
14+
- uses: actions/checkout@v5
1515
- name: Use Node.js ${{ matrix.node-version }}
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v5
1717
with:
1818
node-version: ${{ matrix.node-version }}
1919
- name: Install Dependencies
@@ -28,9 +28,9 @@ jobs:
2828
matrix:
2929
node-version: [12, 14, 16, 'lts/*']
3030
steps:
31-
- uses: actions/checkout@v2
31+
- uses: actions/checkout@v5
3232
- name: Use Node.js ${{ matrix.node-version }}
33-
uses: actions/setup-node@v3
33+
uses: actions/setup-node@v5
3434
with:
3535
node-version: ${{ matrix.node-version }}
3636
- run: npm install
@@ -46,9 +46,9 @@ jobs:
4646
matrix:
4747
node-version: ['lts/*']
4848
steps:
49-
- uses: actions/checkout@v2
49+
- uses: actions/checkout@v5
5050
- name: Use Node.js ${{ matrix.node-version }}
51-
uses: actions/setup-node@v3
51+
uses: actions/setup-node@v5
5252
with:
5353
node-version: ${{ matrix.node-version }}
5454
- run: npm install
@@ -67,11 +67,16 @@ jobs:
6767
strategy:
6868
matrix:
6969
node-version: ['lts/*']
70+
permissions:
71+
id-token: write
72+
contents: write
73+
pull-requests: write
74+
issues: write
7075
steps:
7176
- name: Checkout
72-
uses: actions/checkout@v2
77+
uses: actions/checkout@v5
7378
- name: Semantic Release
74-
uses: cycjimmy/semantic-release-action@v2.5.0
79+
uses: cycjimmy/semantic-release-action@5
7580
env:
7681
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7782
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
A simple package for fetching JSON from a URL and caching it for a decided amount of time.
44

5-
## [Documentation](https://matej.voboril.dev/json-fetch-cache)
5+
## [Documentation](https://tobitenno.github.io/json-fetch-cache/)
66

77
[![npm version](https://badge.fury.io/js/json-fetch-cache.svg)](https://badge.fury.io/js/json-fetch-cache)
88
[![CI](https://github.com/TobiTenno/json-fetch-cache/actions/workflows/ci.yaml/badge.svg)](https://github.com/TobiTenno/json-fetch-cache/actions/workflows/ci.yaml)

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,5 +105,6 @@
105105
},
106106
"mocha": {
107107
"exit": true
108-
}
108+
},
109+
"publishConfig": { "provenance": true }
109110
}

0 commit comments

Comments
 (0)