Skip to content

[Crash] NotFoundError: The object can not be found here. #42

[Crash] NotFoundError: The object can not be found here.

[Crash] NotFoundError: The object can not be found here. #42

Workflow file for this run

name: Decode Issue
on:
issues:
types: [opened, edited, labeled]
jobs:
decode-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v7
if: contains(github.event.issue.title, '%20') || contains(github.event.issue.labels.*.name, 'decode-issue')
with:
script: |
const { title, body } = context.payload.issue;
const MARKER = '<!-- decoded -->'
if(body.includes(MARKER)) return;
github.rest.issues.update({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
title: decodeURIComponent(title),
body: decodeURIComponent(body) + MARKER
})