Skip to content

Update pkg.pr.new comment #612

Update pkg.pr.new comment

Update pkg.pr.new comment #612

name: Update pkg.pr.new comment
on:
workflow_run:
workflows: ['Publish to pkg.pr.new']
types:
- completed
permissions:
issues: write
pull-requests: write
jobs:
build:
if: github.repository == 'sveltejs/eslint-plugin-svelte'
name: 'Update comment'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: output
github-token: ${{ secrets.GITHUB_TOKEN }}
run-id: ${{ github.event.workflow_run.id }}
- run: ls -R .
- name: 'Post or update comment'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const fs = require('fs');
const output = JSON.parse(fs.readFileSync('output.json', 'utf8'));
const { default: process } = await import('${{ github.workspace }}/tools/pkg.pr.new-comment.mjs')
await process({github, context, core, output})
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy