Skip to content

Upgrade Claude Code GitHub Action code snippet to v1 #20655

Upgrade Claude Code GitHub Action code snippet to v1

Upgrade Claude Code GitHub Action code snippet to v1 #20655

Workflow file for this run

name: Lunaria

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

View workflow run for this annotation

GitHub Actions / Lunaria

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:
# Trigger the workflow every time a pull request is opened or synchronized at the target `main` branch
# zizmor: ignore[dangerous-triggers]
pull_request_target:
types: [opened, synchronize]
# Automatically cancel in-progress actions on the same branch
concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request_target' && github.head_ref || github.ref }}
cancel-in-progress: true
# Allow this job to clone the repository and comment on the pull request
permissions:
contents: read
pull-requests: write
jobs:
lunaria-overview:
name: Generate Lunaria Overview
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
# Necessary for Lunaria to work properly
# Makes the action clone the entire git history
fetch-depth: 0
- name: Install Tools & Dependencies
uses: ./.github/actions/install
- name: Generate Lunaria Overview
uses: lunariajs/action@e5ab09c3c8353fa80786d8c2149873ba3978a3a7 # v0.2.0
with:
token: ${{ secrets.FREDKBOT_GITHUB_TOKEN }}