Skip to content

chore(deps): update dependency typescript to v5.6.2 #1170

chore(deps): update dependency typescript to v5.6.2

chore(deps): update dependency typescript to v5.6.2 #1170

Workflow file for this run

name: GitHub - No PRs from Forks
on:
pull_request_target:
types: [opened, synchronize, reopened]
jobs:
no-forks:
name: No-Forks
runs-on: ubuntu-latest
steps:
- name: Comment and Close
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7
if: ${{ github.event.pull_request.head.repo.full_name != 'freeCodeCamp/news' }}
with:
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: "This is a quick reminder that we can not accept pull requests from forks (including staff and prior contributors).\n\nThis repo is a \"special\" case because of how we build, test and deploy the codebase. If you are working on something, Please open a new pull request from a branch on this repository."
})
github.rest.pulls.update({
pull_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
state: 'closed'
})