Skip to content

GitHub Actions(deps): Bump actions/github-script from 8 to 9 #646

GitHub Actions(deps): Bump actions/github-script from 8 to 9

GitHub Actions(deps): Bump actions/github-script from 8 to 9 #646

Workflow file for this run

name: Pull Request Label Sync
on:
pull_request_target:
types: [opened, reopened, synchronize]
pull_request:
types: [opened, reopened, synchronize]
workflow_call:
inputs:
copy_issue_labels:
type: boolean
default: true
description: "Copy labels from linked issue"
permissions:
contents: read
issues: read
pull-requests: write
jobs:
copy-issue-labels:
if: inputs.copy_issue_labels == true || github.event_name != 'workflow_call'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Checkout dev-tools workflow action source
uses: actions/checkout@v6
with:
repository: php-fast-forward/dev-tools
ref: ${{ github.repository == 'php-fast-forward/dev-tools' && (github.event_name == 'pull_request_target' && github.event.pull_request.base.sha || github.sha) || 'main' }}
path: .dev-tools-actions
sparse-checkout: |
.github/actions
- name: Copy labels from issue to PR
uses: ./.dev-tools-actions/.github/actions/label-sync/copy-linked-issue-labels