mirror of
https://github.com/tree-sitter/tree-sitter.git
synced 2026-09-12 00:16:30 -04:00
Bumps the actions group with 2 updates: [actions/upload-pages-artifact](https://github.com/actions/upload-pages-artifact) and [actions/github-script](https://github.com/actions/github-script). Updates `actions/upload-pages-artifact` from 4 to 5 - [Release notes](https://github.com/actions/upload-pages-artifact/releases) - [Commits](https://github.com/actions/upload-pages-artifact/compare/v4...v5) Updates `actions/github-script` from 8 to 9 - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v8...v9) --- updated-dependencies: - dependency-name: actions/upload-pages-artifact dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] <support@github.com>
30 lines
639 B
YAML
30 lines
639 B
YAML
name: Close as spam
|
|
|
|
on:
|
|
issues:
|
|
types: [labeled]
|
|
pull_request_target:
|
|
types: [labeled]
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
jobs:
|
|
spam:
|
|
runs-on: ubuntu-latest
|
|
if: github.event.label.name == 'spam'
|
|
steps:
|
|
- name: Checkout script
|
|
uses: actions/checkout@v6
|
|
with:
|
|
sparse-checkout: .github/scripts/close_spam.js
|
|
sparse-checkout-cone-mode: false
|
|
|
|
- name: Run script
|
|
uses: actions/github-script@v9
|
|
with:
|
|
script: |
|
|
const script = require('./.github/scripts/close_spam.js')
|
|
await script({github, context})
|