Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update pkg.pr.new comment#214

Update pkg.pr.new comment

Update pkg.pr.new comment #214

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/svelte-eslint-parser'
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})

[8]ページ先頭

©2009-2025 Movatter.jp