Skip to content

Trying Google Apis (Server-to-server) but gives 401 error, even after assigning permissions to the service account. #9

Trying Google Apis (Server-to-server) but gives 401 error, even after assigning permissions to the service account.

Trying Google Apis (Server-to-server) but gives 401 error, even after assigning permissions to the service account. #9

name: invalid_link
on:
issues:
types: [opened, reopened]
jobs:
close:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- uses: actions/github-script@v7
with:
script: |
const script = require('./.github/scripts/close-invalid-link.cjs')
await script({github, context})