Skip to content

unpkg.com UMD file not found #307

unpkg.com UMD file not found

unpkg.com UMD file not found #307

Workflow file for this run

name: CLA Assistant
on:
issue_comment:
types: [created]
pull_request_target:
types: [opened, closed, reopened, synchronize]
permissions:
actions: write
contents: read
pull-requests: write
statuses: write
concurrency:
group: cla-signatures-v1.0
cancel-in-progress: false
queue: max
jobs:
cla:
name: CLA Assistant
if: >-
(
github.event_name == 'issue_comment' &&
github.actor != 'dependabot[bot]' &&
github.event.issue.user.login != 'dependabot[bot]' &&
github.event.issue.pull_request
) ||
(
github.event_name == 'pull_request_target' &&
github.event.pull_request.user.login != 'dependabot[bot]' &&
(
github.event.action != 'closed' ||
github.event.pull_request.merged == true
)
)
runs-on: ubuntu-latest
steps:
- name: Validate CLA configuration
env:
CLA_ALLOWLIST: ${{ vars.CLA_ALLOWLIST }}
CLA_SIGNATURES_ORGANIZATION: ${{ vars.CLA_SIGNATURES_ORGANIZATION }}
CLA_SIGNATURES_REPOSITORY: ${{ vars.CLA_SIGNATURES_REPOSITORY }}
CLA_SIGNATURES_TOKEN: ${{ secrets.CLA_SIGNATURES_TOKEN }}
run: |
missing=()
for name in \
CLA_ALLOWLIST \
CLA_SIGNATURES_ORGANIZATION \
CLA_SIGNATURES_REPOSITORY \
CLA_SIGNATURES_TOKEN
do
if [[ -z "${!name}" ]]; then
missing+=("$name")
fi
done
if (( ${#missing[@]} > 0 )); then
echo "Missing required CLA configuration: ${missing[*]}" >&2
exit 1
fi
if ! signatures_repository_private=$(
GH_TOKEN="$CLA_SIGNATURES_TOKEN" gh api \
"repos/${CLA_SIGNATURES_ORGANIZATION}/${CLA_SIGNATURES_REPOSITORY}" \
--jq '.private'
); then
echo "Unable to verify the CLA signatures repository" >&2
exit 1
fi
if [[ "$signatures_repository_private" != "true" ]]; then
echo "The CLA signatures repository must be private" >&2
exit 1
fi
- name: Check contributor license agreement
uses: contributor-assistant/github-action@ca4a40a7d1004f18d9960b404b97e5f30a505a08 # v2.6.1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PERSONAL_ACCESS_TOKEN: ${{ secrets.CLA_SIGNATURES_TOKEN }}
with:
path-to-document: https://github.com/superdoc/docx-editor/blob/main/CLA.md
path-to-signatures: signatures/v1.0/cla.json
branch: main
remote-organization-name: ${{ vars.CLA_SIGNATURES_ORGANIZATION }}
remote-repository-name: ${{ vars.CLA_SIGNATURES_REPOSITORY }}
allowlist: dependabot[bot],github-actions[bot],${{ vars.CLA_ALLOWLIST }}