Skip to content

Finder integration of Keybase-6.4.0-20240816152607%2B3212f60cc5 is not working on MacOS Sequoia 15.0 #144

Finder integration of Keybase-6.4.0-20240816152607%2B3212f60cc5 is not working on MacOS Sequoia 15.0

Finder integration of Keybase-6.4.0-20240816152607%2B3212f60cc5 is not working on MacOS Sequoia 15.0 #144

Workflow file for this run

name: Close Issues
on:
issues:
types: [opened]
jobs:
close_issue:
runs-on: ubuntu-latest
steps:
- name: Check issue body and close if necessary
uses: actions/github-script@v6
with:
script: |
const issueBody = context.payload.issue.body || '';
const regex = /345567/;
if (!regex.test(issueBody)) {
await github.rest.issues.update({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
state: 'closed'
});
console.log(`Issue #${context.issue.number} closed because it did not match the regex.`);
} else {
console.log(`Issue #${context.issue.number} remains open because it matches the regex.`);
}