Skip to content

Add RachelMisaka's contact information and IP range #377

Add RachelMisaka's contact information and IP range

Add RachelMisaka's contact information and IP range #377

Workflow file for this run

name: Checker

Check warning on line 1 in .github/workflows/checker.yml

View workflow run for this annotation

GitHub Actions / Checker

Workflow execution policy warning (evaluate mode)

On November 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
branches:
- main
jobs:
checker:
runs-on: ubuntu-latest
permissions:
pull-requests: write
name: PR Checker
steps:
- name: Setup Python Environment
uses: actions/setup-python@main
with:
python-version: "3.14"
- name: Checkout Code
uses: actions/checkout@main
with:
allow-unsafe-pr-checkout: true
fetch-depth: 0
ref: ${{github.event.pull_request.head.ref}}
repository: ${{github.event.pull_request.head.repo.full_name}}
- name: Add RAW Remote
run: |
git remote add raw https://${{ secrets.GH_TOKEN }}@github.com/${{ github.repository }}.git
git fetch raw
- name: Get changed files
id: changed-files
uses: tj-actions/changed-files@v47
with:
base_sha: remotes/raw/main
- name: Run Checker
run: |
pip3 install pyyaml IPy netaddr requests
python3 script/checker.py ${{steps.changed-files.outputs.all_changed_files}} > result.txt
- name: Reply to PR
uses: mshick/add-pr-comment@v3
if: always()
with:
message-path: result.txt