Skip to content

Commit

Permalink
ci: add correct permissions for npm publishing (#946)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #{issue number}

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
  • Loading branch information
arealmaas authored Jul 30, 2024
1 parent 1ab6380 commit 9e0f436
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/action-publish-schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
env:
WORKING_DIRECTORY: docs/schema/V1

permissions:
id-token: write

jobs:
publish-schema-to-npm:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 9e0f436

Please sign in to comment.