Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,14 @@ on:
# daily schedule
workflow_call:

permissions:
contents: read

jobs:
setup:
runs-on: ubuntu-latest
permissions:
contents: read
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to repeat the same code on the job and on the file too?

permissions:
  contents: read

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nah, it was just for posterity's sake, if we ever need to set to differently from the default then the permissions are already there.

steps:
- name: Select environment
id: env-selector
Expand Down Expand Up @@ -59,13 +64,15 @@ jobs:
if: ${{ github.event_name != 'pull_request_target' }}
uses: actions/checkout@v4
with:
persist-credentials: false
ref: main

- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
check-latest: true
node-version: 18
node-version-file: '.nvmrc'

- name: Install Packages
Expand Down
Loading