Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

GH Actions: Bump actions/cache from 4.2.4 to 4.3.0 in the action-runners group #42

GH Actions: Bump actions/cache from 4.2.4 to 4.3.0 in the action-runners group

GH Actions: Bump actions/cache from 4.2.4 to 4.3.0 in the action-runners group #42

Workflow file for this run

name: Label new PRs
on:
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target
# The `pull_request_target` event is used for "normal" PRs to label them when they are opened.
# This will use the `labeler.yml` file in the default (main) branch of the repo.
pull_request_target:
types:
- opened
- ready_for_review
# The `pull_request` event is used for PRs which change the files which handle the labeling to prevent a silently failing action.
# This will use the `labeler.yml` file in the PR branch.
pull_request:
paths:
- '.github/workflows/label-new-prs.yml'
- '.github/labeler.yml'
jobs:
label-new-prs:
runs-on: ubuntu-latest
if: github.repository_owner == 'PHPCSStandards' && github.event_name == 'pull_request_target'
name: Add labels to new PRs
steps:
- name: Label new PRs
uses: srvaroa/labeler@0a20eccb8c94a1ee0bed5f16859aece1c45c3e55 # v1.13.0
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
validate-labeler-worflow:
runs-on: ubuntu-latest
if: github.repository_owner == 'PHPCSStandards' && github.event_name == 'pull_request' && github.event.pull_request.merged == false
name: Validate changes to Labeler logic
steps:
# Checkout is needed to use the `use_local_config` option.
- name: Checkout code
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
with:
persist-credentials: false
- name: Verify changes to the labeling logic
uses: srvaroa/labeler@0a20eccb8c94a1ee0bed5f16859aece1c45c3e55 # v1.13.0
with:
use_local_config: true
fail_on_error: true
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
Morty Proxy This is a proxified and sanitized view of the page, visit original site.