Skip to content
Merged
Show file tree
Hide file tree
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
7 changes: 4 additions & 3 deletions .github/workflows/_ci-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@
# This will run standard CI for Node.js/npm/TypeScript projects.

name: CI-Node
permissions:
contents: write # required for release_setup action
permissions: {}

on:
pull_request:
push:
branches:
- master
pull_request:

concurrency:
group: "${{ github.workflow }}-${{ github.ref }}"
Expand All @@ -26,6 +25,8 @@ jobs:
name: CI-Node
uses: LizardByte/.github/.github/workflows/__call-ci-node.yml@master
if: ${{ github.repository != 'LizardByte/.github' }}
permissions:
contents: write # required for release_setup action
secrets:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
GH_TOKEN: ${{ secrets.GH_BOT_TOKEN }}
11 changes: 6 additions & 5 deletions .github/workflows/_codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,13 @@
# the above-mentioned repo.

name: CodeQL
permissions:
actions: read
contents: read
security-events: write
permissions: {}

on:
pull_request:
push:
branches:
- master
pull_request:
schedule:
- cron: '00 12 * * 0' # every Sunday at 12:00 UTC

Expand All @@ -26,3 +23,7 @@ jobs:
name: CodeQL
uses: LizardByte/.github/.github/workflows/__call-codeql.yml@master
if: ${{ github.repository != 'LizardByte/.github' }}
permissions:
actions: read
contents: read
security-events: write
5 changes: 3 additions & 2 deletions .github/workflows/_common-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
# the above-mentioned repo.

name: common lint
permissions:
contents: read
permissions: {}

on:
pull_request:
Expand All @@ -19,3 +18,5 @@ jobs:
name: Common Lint
uses: LizardByte/.github/.github/workflows/__call-common-lint.yml@master
if: ${{ github.repository != 'LizardByte/.github' }}
permissions:
contents: read
1 change: 1 addition & 0 deletions .github/workflows/_update-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jobs:
name: Update docs
uses: LizardByte/.github/.github/workflows/__call-update-docs.yml@master
if: github.repository_owner == 'LizardByte'
permissions: {}
with:
readthedocs_slug: ${{ vars.READTHEDOCS_SLUG }}
secrets:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/_update-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,7 @@
# Update NPM packages on release events.

name: Update NPM
permissions:
contents: read
id-token: write # required for provenance and OIDC
packages: write
permissions: {}

on:
release:
Expand All @@ -27,5 +24,9 @@ jobs:
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 }}