Skip to content

Commit b1e7adc

Browse files
authored
chore(actions): disable credential persistence (#72)
1 parent 5815621 commit b1e7adc

File tree

4 files changed

+10
-3
lines changed

4 files changed

+10
-3
lines changed

.github/workflows/codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ jobs:
1616
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
1717
with:
1818
fetch-depth: 0
19+
persist-credentials: false
1920

2021
- name: Setup Node.js
2122
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
16+
with:
17+
persist-credentials: false
1618
- name: Setup Node.js
1719
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
1820
with:

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ jobs:
2424
- name: Checkout
2525
if: ${{ steps.release.outputs.release_created }}
2626
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
27+
with:
28+
persist-credentials: false
2729
- name: Setup Node
2830
if: ${{ steps.release.outputs.release_created }}
2931
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903

.github/workflows/static.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ name: Deploy static content to Pages
44
on:
55
# Runs on pushes targeting the default branch
66
push:
7-
branches: ['main']
7+
branches: ["main"]
88

99
# Allows you to run this workflow manually from the Actions tab
1010
workflow_dispatch:
@@ -18,7 +18,7 @@ permissions:
1818
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
1919
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2020
concurrency:
21-
group: 'pages'
21+
group: "pages"
2222
cancel-in-progress: false
2323

2424
jobs:
@@ -31,6 +31,8 @@ jobs:
3131
steps:
3232
- name: Checkout
3333
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8
34+
with:
35+
persist-credentials: false
3436
- name: Setup Node
3537
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903
3638
with:
@@ -45,7 +47,7 @@ jobs:
4547
uses: actions/upload-pages-artifact@7b1f4a764d45c48632c6b24a0339c27f5614fb0b
4648
with:
4749
# Upload entire repository
48-
path: './static'
50+
path: "./static"
4951
- name: Deploy to GitHub Pages
5052
id: deployment
5153
uses: actions/deploy-pages@d6db90164ac5ed86f2b6aed7e0febac5b3c0c03e

0 commit comments

Comments
 (0)