Skip to content
Closed
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
22 changes: 22 additions & 0 deletions .github/workflows/npm-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: NPM release

on:
pull_request:
branches: [master]
types:
- opened
- synchronize
- reopened
# Triggers the workflow when labels change in the PR
- labeled
- unlabeled
push:
branches:
- master

jobs:
npm-release:
uses: mapbox/gha/.github/workflows/workflow-release-npm-package.yml@workflow-release-npm-package-v1

Check warning on line 19 in .github/workflows/npm-release.yml

View check run for this annotation

OX Security / ox-security/scan

Unpinned Reusable Workflow • GitHub Actions

Pin reusable workflows to a full-length commit SHA (40 characters) instead of a tag or branch. Example: uses: org/repo/.github/workflows/build.yml@a1b2c3d4e5f6a7b8c9d0e1f2a3b4c5d6e7f8a9b0
secrets: inherit
with:
is-public: true # Enable OIDC authentication for public packages

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {}
Comment on lines +19 to +22
Loading