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
15 changes: 15 additions & 0 deletions .changeset/purple-bikes-jam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
---
"@codecov/astro-plugin": patch
"@codecov/bundle-analyzer": patch
"@codecov/bundler-plugin-core": patch
"@codecov/nextjs-webpack-plugin": patch
"@codecov/nuxt-plugin": patch
"@codecov/remix-vite-plugin": patch
"@codecov/rollup-plugin": patch
"@codecov/solidstart-plugin": patch
"@codecov/sveltekit-plugin": patch
"@codecov/vite-plugin": patch
"@codecov/webpack-plugin": patch
---

update GitHub Actions workflow permissions
5 changes: 4 additions & 1 deletion .github/workflows/cache_cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
types:
- closed

permissions:
contents: read

jobs:
cleanup:
runs-on: ubuntu-latest
Expand All @@ -21,7 +24,7 @@ jobs:
echo "Fetching list of cache key"
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH -L 100 | cut -f 1 )

## Setting this to not fail the workflow while deleting cache keys.
## Setting this to not fail the workflow while deleting cache keys.
set +e
echo "Deleting caches..."
for cacheKey in $cacheKeysForPR
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/enforce-license-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
branches: [main, master]

permissions:
contents: read

jobs:
enforce-license-compliance:
runs-on: ubuntu-latest
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/prepare-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ name: Prepare Publish
on:
workflow_dispatch:

permissions:
contents: read
pull-requests: write

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- "**/CHANGELOG.md"

permissions:
contents: read

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand All @@ -16,7 +19,7 @@ jobs:
# For whatever reason, yaml does not like the full "meta(changelog): Update package versions" string
# So we check this in two parts
if: |
contains(github.event.head_commit.message, 'meta(changelog)')
contains(github.event.head_commit.message, 'meta(changelog)')
&& contains(github.event.head_commit.message, 'Update package versions')
steps:
- name: Checkout Repo
Expand Down Expand Up @@ -68,7 +71,7 @@ jobs:
# For whatever reason, yaml does not like the full "meta(changelog): Update package versions" string
# So we check this in two parts
if: |
contains(github.event.head_commit.message, 'meta(changelog)')
contains(github.event.head_commit.message, 'meta(changelog)')
&& contains(github.event.head_commit.message, 'Update package versions')
steps:
- name: Checkout Repo
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-api-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
paths:
- integration-tests/test-api/**

permissions:
content: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test-api-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
paths:
- integration-tests/test-api/**

permissions:
content: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/typedoc-manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Publish TypeDocs
on:
workflow_dispatch:

permissions:
content: read

jobs:
deploy_docs:
permissions:
Expand Down Expand Up @@ -43,4 +46,4 @@ jobs:
run: node scripts/publish-docs.mjs
env:
GIT_USERNAME: ${{ steps.import-gpg.outputs.name }}
GIT_EMAIL: ${{ steps.import-gpg.outputs.email }}
GIT_EMAIL: ${{ steps.import-gpg.outputs.email }}
Loading