Skip to content
This repository was archived by the owner on Aug 19, 2026. It is now read-only.

chore: add porto deprecation notices #3435

chore: add porto deprecation notices

chore: add porto deprecation notices #3435

Workflow file for this run

name: Pull Request
on:
pull_request:
types: [opened, reopened, synchronize, ready_for_review]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
verify:
name: Verify
uses: ./.github/workflows/verify.yml
secrets: inherit
extension:
name: Extension
uses: ./.github/workflows/extension.yml
secrets: inherit
extension-comment:
name: Comment PR with Extension Artifact
needs: [extension]
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Comment PR
uses: actions/github-script@f28e40c7f34bde8b3046d885e986cb6290c5673b # v7
with:
script: |
const commentMarker = '<!-- extension-download-comment -->'
const commitSha = '${{ github.event.pull_request.head.sha }}'
const commitUrl = '${{ github.event.repository.html_url }}/commit/${{ github.event.pull_request.head.sha }}'
const artifactUrl = '${{ needs.extension.outputs.artifact-url }}'
const commentBody = `${commentMarker}
Built extension for [\`${commitSha}\`](${commitUrl}).
[Download](${artifactUrl})
### Instructions
1. Download the \`extension.zip\` asset from the link below
2. Unzip the downloaded file
#### Chrome
3. Unzip the Chrome directory
4. Open Chrome and navigate to \`chrome://extensions\`
5. Enable \`Developer Mode\` in the top right corner
6. Click \`Load Unpacked\` in the top left corner
7. Select the unzipped Chrome directory
8. Done!
#### Firefox
3. Open your browser and navigate to \`about:debugging#/runtime/this-firefox\`
4. Click \`Load Temporary Add-on...\` in the top right corner
5. Select the zipped Firefox directory
6. Done!`
const { data: comments } = await github.rest.issues.listComments({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
})
const existingComment = comments.find((comment) => comment.body.includes(commentMarker))
if (existingComment) {
await github.rest.issues.updateComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: existingComment.id,
body: commentBody,
})
} else {
await github.rest.issues.createComment({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
body: commentBody,
})
}
size:
name: Size
runs-on: ubuntu-latest
timeout-minutes: 5
permissions:
pull-requests: write
steps:
- name: Clone repository
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with:
submodules: 'recursive'
- name: Install dependencies
uses: ./.github/actions/install-dependencies
- name: Report bundle size
uses: andresz1/size-limit-action@94bc357df29c36c8f8d50ea497c3e225c3c95d1d # master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
package_manager: pnpm