-
Notifications
You must be signed in to change notification settings - Fork 2
32 lines (26 loc) · 916 Bytes
/
_update-npm.yml
File metadata and controls
32 lines (26 loc) · 916 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
---
# This workflow is centrally managed in https://github.com/LizardByte/.github/
# Don't make changes to this file in this repo as they will be overwritten with changes made to the same file in
# the above-mentioned repo.
# To use, add the `npm-pkg` repository label to identify repositories that should trigger this workflow.
# Update NPM packages on release events.
name: Update NPM
permissions: {}
on:
release:
types:
- released
concurrency:
group: "${{ github.workflow }}-${{ github.event.release.tag_name }}"
cancel-in-progress: true
jobs:
update-npm:
name: Update NPM
uses: LizardByte/.github/.github/workflows/__call-update-npm.yml@master
if: github.repository_owner == 'LizardByte'
permissions:
contents: read
id-token: write # required for provenance and OIDC
packages: write
with:
release_version: ${{ github.event.release.tag_name }}