Skip to content

Redirects github action #12

Redirects github action

Redirects github action #12

Workflow file for this run

name: add-redirects
on:
pull_request:
paths:
- "source/**"
jobs:
get-redirects-renamed:
name: Get Renamed Files
runs-on: ubuntu-latest
permissions:
issues: write
contents: write
pull-requests: write
repository-projects: write
steps:
- uses: actions/checkout@v4
- name: Get renamed files
id: changed-files
# pin to a specific commit to ensure stability
uses: tj-actions/changed-files@c65cd883420fd2eb864698a825fc4162dd94482c
with:
include_all_old_new_renamed_files: true
write_output_files: true
- name: Debug renamed files output
id: output-renamed
env:
RENAMED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
run: |
echo "Changed files: "
echo "${{ steps.changed-files.outputs.all_changed_files }}"