Skip to content

Commit

Permalink
adds permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
Vignesh Kennadi committed Sep 27, 2024
1 parent 98520af commit 53810ed
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout xero-node repo
uses: actions/checkout@v4
Expand All @@ -20,6 +23,7 @@ jobs:
node-version: 20
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
registry-url: 'https://registry.npmjs.org'

- name: Install dependencies
run: npm ci
Expand Down

0 comments on commit 53810ed

Please sign in to comment.