Skip to content

Commit

Permalink
ci: harden workflows (#232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs committed Jan 1, 2023
1 parent a57a3bb commit 1218d22
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/check.yml
Expand Up @@ -6,6 +6,9 @@ on:
- "main"
pull_request:

permissions:
contents: read

jobs:
main:
runs-on: ubuntu-latest
Expand All @@ -17,6 +20,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: actions/setup-node@v3
with:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/test.yml
Expand Up @@ -6,6 +6,9 @@ on:
- "main"
pull_request:

permissions:
contents: read

jobs:
main:
runs-on: ${{ matrix.os }}
Expand All @@ -17,6 +20,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- uses: actions/setup-node@v3
with:
Expand Down

0 comments on commit 1218d22

Please sign in to comment.